addPlayerSubscription()
function addPlayerSubscription(observableId: string, playerId: number): IDisposable;Defined in: src/lib/observable/registry.ts:263
Subscribe a player to an observable.
Parameters
| Parameter | Type | Description |
|---|---|---|
observableId | string | The observable ID |
playerId | number | The player ID to subscribe |
Returns
Disposable to unsubscribe