pub trait ServiceEvent<T>: Send + 'static {
    fn report_event(scope: ScopeId, service: Service) -> Self;
    fn eol_event(
        scope: ScopeId,
        service: Service,
        actor: T,
        r: ActorResult<()>
    ) -> Self; }
Expand description

Ideally it should be implemented using proc_macro on the event type

Required Methods

Creates report event that will be pushed as status change from the Child: T

Creates eol event that will be pushed as end of life event once the Child: T breakdown

Implementors