Back

Appwrite With Workers

  • 0
  • Functions
RodPenna
19 Feb, 2024, 21:23

I'm trying to implement a worker in an appwrite function but I'm having problems creating the promise.

I would like to know if this feature is still possible and how it would be done.

The problem apparently is with the worker call within worker.js, which is not being made, and the promise response is coming up empty, I've already tried changing the file path and it didn't work.

Node 18.0 Appwrite 1.4.13 Node-appwrite 9.0.0

TL;DR
Developers are struggling to implement a worker in an appwrite function and create a promise. The worker call in worker.js is not being made as expected, and the promise response is empty. They have tried changing the file path without success. Solution: Ensure the worker call in worker.js is correctly configured and the file path is accurate for the promise to work as intended.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more