Software engineer & creator of internet things. Node.js aficionado since 2011, React lover since 2014.
Head of solarwallet.io at SatoshiPay (satoshipay.io).
Hi! It uses worker.postMessage() to post an unserialized object, since this is the fastest option. The browser / node.js can then determine what’s the most efficient way to pass the data.
For a worker invocation myWorker.print({ foo: "bar" }) the posted data would look roughly like this: { callID: 27, method: "print", args: [{ foo: "bar" }] }
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! It uses worker.postMessage() to post an unserialized object, since this is the fastest option. The browser / node.js can then determine what’s the most efficient way to pass the data.
For a worker invocation
myWorker.print({ foo: "bar" })
the posted data would look roughly like this:{ callID: 27, method: "print", args: [{ foo: "bar" }] }