Type Parameters
- F extends CallableFunction
Constructors
constructor
- new Subscribable<F>(): Subscribable<F>
Type Parameters
- F extends CallableFunction
Accessors
listeners
- get listeners(): F[]
Returns F[]
Methods
registerProxy
- registerProxy(token, getListeners): void
Returns void
subscribe
- subscribe(token, callback): void
Returns void
unregisterProxy
- unregisterProxy(token): void
Returns void
unsubscribe
- unsubscribe(token): void
Returns void
This function is only used internally for proxies