EventSubscriptionBuilderExtensions<T> extension
- on
Methods
-
subscribeFactory(
EventHandlerFactory< T> factory) → EventSubscription -
Subscribes to the given
factory
. -
subscribeFunction(
FutureOr< void> handler(T event)) → EventSubscription -
Subscribes to the given
handler
.