pub fn worker_message_read(buf: &mut [u8]) -> usizeExpand description
Copy the message currently being delivered to on_message into buf.
Valid only during a worker’s on_message callback. Returns the number of
bytes written (truncated to buf.len()).