Function privateWsSubscription
- privateWsSubscription<C>(__namedParameters, tokenOrKeys?): Promise<Observable<PrivateSubscriptionUpdate<C>>>
Parameters
- __namedParameters: {
channel: C;
req_id?: PrivateSubscription<C>["req_id"];
} & PrivateSubscriptionParams<C> Optional
tokenOrKeys: string | ApiCredentials
Returns Promise<Observable<PrivateSubscriptionUpdate<C>>>
Returns a Promise of a RxJS Observable for the given private channel. You can call
.subscribe()
on the resolvedObservable
to receive data updates.