Interface MessageSubscription<Msg, HandlerOpts>

A message subscription service.

interface MessageSubscription {
    subscribe(handler, options?): MaybePromise<Unsubscribe>;
}

Type Parameters

  • Msg

  • HandlerOpts = object

Hierarchy

Methods

Methods

Generated using TypeDoc