import { Pull } from "zeromq"
console.log("Hello, world!")
async function run(): Promise<void> {
const sock = new Pull()
// sock.connect("tcp://<192.168.50.10>:9060")
// console.log("Worker connected to port 3000")
// for await (const [msg] of sock) {
// console.log("work: %s", msg.toString())
// }
}
run()import { Pull } from "zeromq"
console.log("Hello, world!")
async function run(): Promise<void> {
const sock = new Pull()
// sock.connect("tcp://<192.168.50.10>:9060")
// console.log("Worker connected to port 3000")
// for await (const [msg] of sock) {
// console.log("work: %s", msg.toString())
// }
}
run()"zeromq": "^6.1.2""zeromq": "^6.1.2"deno run src/main.ts
β
Granted all read access.
β
Granted all ffi access.
deno: symbol lookup error: /node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unrefdeno run src/main.ts
β
Granted all read access.
β
Granted all ffi access.
deno: symbol lookup error: /node_modules/zeromq/build/linux/x64/node/115/addon.node: undefined symbol: uv_unrefβ
Granted all read access.
β
Granted ffi access to "\node_modules\zeromq\build\win32\x64\node\115\addon.node".
>β
Granted all read access.
β
Granted ffi access to "\node_modules\zeromq\build\win32\x64\node\115\addon.node".
>