RpcSubscriptionsChannelCreator
A channel creator is a function that accepts an AbortSignal, returns a new
RpcSubscriptionsChannel, and tears down the channel when the abort signal fires.
Type Parameters
| Type Parameter |
|---|
TOutboundMessage |
TInboundMessage |
Parameters
| Parameter | Type |
|---|---|
config | Readonly<{ abortSignal: AbortSignal; }> |
Returns
Promise<RpcSubscriptionsChannel<TOutboundMessage, TInboundMessage>>