Function ShortPollingCoordinator
- ShortPollingCoordinator(): {
listeners: Record<string, IPollingListenerDetails<unknown, unknown>>;
addPollingListener<TMessage, TEvent>(__namedParameters) => IPollingListenerDetails<unknown, unknown>;
removePollingListener<TMessage, TEvent>(__namedParameters) => IPollingListenerDetails<unknown, unknown>;
subscribe<TMessage, TEvent>(__namedParameters) => void;
unsubscribe<TEvent>(__namedParameters) => void;
} Returns {
listeners: Record<string, IPollingListenerDetails<unknown, unknown>>;
addPollingListener<TMessage, TEvent>(__namedParameters) => IPollingListenerDetails<unknown, unknown>;
removePollingListener<TMessage, TEvent>(__namedParameters) => IPollingListenerDetails<unknown, unknown>;
subscribe<TMessage, TEvent>(__namedParameters) => void;
unsubscribe<TEvent>(__namedParameters) => void;
}
addPollingListener:function
- addPollingListener<TMessage, TEvent>(__namedParameters): IPollingListenerDetails<unknown, unknown>
Type Parameters
TMessage
TEvent extends string
removePollingListener:function
- removePollingListener<TMessage, TEvent>(__namedParameters): IPollingListenerDetails<unknown, unknown>
Type Parameters
TMessage
TEvent extends string
subscribe:function
- subscribe<TMessage, TEvent>(__namedParameters): void
Type Parameters
TMessage
TEvent extends string
Returns void
unsubscribe:function
- unsubscribe<TEvent>(__namedParameters): void
Returns void