Function: parseEventTypeFromMessage()
ts
function parseEventTypeFromMessage(wsKey: WsKey, parsedMsg?: any): string | undefined;Some of the newer multiplex websocket topics don't include an eventType ("e") property.
This attempts to extract that from the streamName, which is included with these incoming events.
Parameters
| Parameter | Type |
|---|---|
wsKey | WsKey |
parsedMsg? | any |
Returns
string | undefined