Although <https://developers.cloudflare.com/queues/configuration/javascript-apis/#messagesendrequest
Although https://developers.cloudflare.com/queues/configuration/javascript-apis/#messagesendrequest says that you can pass anything supported by the structuredClone algorithm, when I try to send a nodejs Buffer, it doesn't seem to work identical to structuredClone
producer (worker a):
consumer (worker b):
while this isn't too big of an issue (I can easily do new Uint8Array(message.body.nodejsBuffer.data)), it would be nice if this was fixed. It took me a while to figure out what was causing issues
0 Replies