send.js 181 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 /** * send * * @name send * @function send packet to worker and create a job * @access public */ module.exports = async (worker, packet) => { worker.postMessage(packet); };