decodeMessage
decodeMessage<
T>(message):T
Defined in: src/internal/rpc.ts:222
Internal
Decode a RPC message from a string using JSON. This is only done when structured cloning is not available.
Type Parameters
Section titled “Type Parameters”T extends Message
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”T