Skip to content

Function: getWsKeyForTopicChannel() ​

ts
function getWsKeyForTopicChannel(
   market: APIMarket, 
   channel: WsChannel, 
   isPrivate?: boolean
): WsKey;

Determine which WsKey (ws connection) to route an event to

Parameters ​

ParameterType
marketAPIMarket
channelWsChannel
isPrivate?boolean

Returns ​

WsKey

Built by Siebly. Open source SDKs for exchange APIs.