Function: getMergedCBExchangeWSRequestOperations()
ts
function getMergedCBExchangeWSRequestOperations<TWSTopic extends string = string>(operations: WsExchangeRequestOperation<TWSTopic>[]): WsExchangeRequestOperation<TWSTopic>;Combine the channel arrays from Coinbase Exchange WebSocket operations into one request. Pass a nonempty array of operations with the same type.
Type Parameters
| Type Parameter | Default type |
|---|---|
TWSTopic extends string | string |
Parameters
| Parameter | Type |
|---|---|
operations | WsExchangeRequestOperation<TWSTopic>[] |
Returns
WsExchangeRequestOperation<TWSTopic>