EventSubscriptionBuilderExtensions<T> extension

on

Methods

subscribeFactory(EventHandlerFactory<T> factory) → EventSubscription

Available on EventSubscriptionBuilder<T>, provided by the EventSubscriptionBuilderExtensions extension

Subscribes to the given factory.
subscribeFunction(FutureOr<void> handler(T event)) → EventSubscription

Available on EventSubscriptionBuilder<T>, provided by the EventSubscriptionBuilderExtensions extension

Subscribes to the given handler.