added AddHandles command

This commit is contained in:
epi
2022-04-12 20:52:57 -05:00
parent 53c171aeb5
commit 15592c3dfd

View File

@@ -5,6 +5,7 @@ use tokio::sync::oneshot::Sender;
use crate::response::FeroxResponse;
use crate::{
event_handlers::Handles,
message::FeroxMessage,
statistics::{StatError, StatField},
traits::FeroxFilter,
@@ -78,4 +79,8 @@ pub enum Command {
/// Break out of the (infinite) mpsc receive loop
Exit,
/// Give a handler access to an Arc<Handles> instance after the handler has
/// already been initialized
AddHandles(Arc<Handles>),
}