Function type for the onRecv handler on message controller/ends
type WxOnRecvFn = (message: WxPayload) => void | Promise<void>
Function type for the onRecv handler on message controller/ends