RpcSubscribable
Structural duck-type for anything subscribable via subscribe({ abortSignal }). Satisfied by
PendingRpcSubscriptionsRequest<TNotification>.
Type Parameters
| Type Parameter | Description |
|---|---|
TNotification | The notification type yielded by the returned async iterable. |
Methods
subscribe()
Parameters
| Parameter | Type |
|---|---|
options | RpcSubscribeOptions |
Returns
Promise<AsyncIterable<TNotification, any, any>>