HookedServiceEventListener<Id, Data, T extends Service<Id, Data>> typedef

HookedServiceEventListener<Id, Data, T extends Service<Id, Data>> = FutureOr Function(HookedServiceEvent<Id, Data, T> event)

Triggered on a hooked service event.

Implementation

typedef HookedServiceEventListener<Id, Data, T extends Service<Id, Data>>
    = FutureOr<dynamic> Function(HookedServiceEvent<Id, Data, T> event);