Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdlr committed Oct 22, 2024
1 parent 6838955 commit fc3518c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ciphernode/router/src/e3_request_router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ impl EventBuffer {
.unwrap_or_default()
}
}
/// Format of the hook that needs to be passed to E3RequestRouter
// pub type EventHook = Box<dyn FnMut(&mut E3RequestContext, EnclaveEvent)>;
// pub type Hydrator = Box<dyn FnMut(&mut E3RequestContext, &E3RequestContextSnapshot)>;
// pub type E3Feature = (EventHook, Hydrator);

/// Format of the hook that needs to be passed to E3RequestRouter
#[async_trait]
pub trait E3Feature: Send + Sync + 'static {
fn on_event(&self, ctx: &mut E3RequestContext, evt: &EnclaveEvent);
Expand Down

0 comments on commit fc3518c

Please sign in to comment.