Kit
Functions

createRpcSubscriptionsTransportFromChannelCreator

createRpcSubscriptionsTransportFromChannelCreator<TChannelCreator, TInboundMessage, TOutboundMessage>(createChannel): TChannelCreator extends RpcSubscriptionsChannelCreatorDevnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportDevnet : TChannelCreator extends RpcSubscriptionsChannelCreatorTestnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportTestnet : TChannelCreator extends RpcSubscriptionsChannelCreatorMainnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportMainnet : RpcSubscriptionsTransport

Type Parameters

Type Parameter
TChannelCreator extends RpcSubscriptionsChannelCreator<TOutboundMessage, TInboundMessage>
TInboundMessage
TOutboundMessage

Parameters

ParameterType
createChannelTChannelCreator

Returns

TChannelCreator extends RpcSubscriptionsChannelCreatorDevnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportDevnet : TChannelCreator extends RpcSubscriptionsChannelCreatorTestnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportTestnet : TChannelCreator extends RpcSubscriptionsChannelCreatorMainnet<TOutboundMessage, TInboundMessage> ? RpcSubscriptionsTransportMainnet : RpcSubscriptionsTransport

On this page