( toClientId: IdOrNull, ...args: [requestId: IdOrNull, message: Message, body: any] )
| 109 | }; |
| 110 | |
| 111 | export const createPayload = ( |
| 112 | toClientId: IdOrNull, |
| 113 | ...args: [requestId: IdOrNull, message: Message, body: any] |
| 114 | ): string => |
| 115 | createRawPayload(toClientId ?? EMPTY_STRING, jsonStringWithUndefined(args)); |
| 116 | |
| 117 | export const createRawPayload = (clientId: Id, remainder: string): string => |
| 118 | clientId + MESSAGE_SEPARATOR + remainder; |
no test coverage detected
searching dependent graphs…