Skip to main content

addPlayerSubscription()

function addPlayerSubscription(observableId: string, playerId: number): IDisposable;

Defined in: src/lib/observable/registry.ts:263

Subscribe a player to an observable.

Parameters

ParameterTypeDescription
observableIdstringThe observable ID
playerIdnumberThe player ID to subscribe

Returns

IDisposable

Disposable to unsubscribe