Function privateWsSubscription
- privateWsSubscription<C>(__namedParameters, tokenOrKeys?): Promise<Observable<PrivateSubscriptionUpdate<C>>>
Parameters
- __namedParameters: {
channel: C;
req_id?: PrivateSubscription<C>["req_id"];
} & PrivateSubscriptionParams<C> OptionaltokenOrKeys: 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 resolvedObservableto receive data updates.