Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I need to perform some async tasks after an order is finalized. The EventHandlers seem to only support a sync Handle function, not an async one. Is there a way to handle the events in an async manner?
Thanks!
Yannic
Hi Yannic,
Unfortunately not. Our event handlers are all currently synchronous only so you'll have to force the async method to run in a synchronous manner.
I've added this to our issue tracker as a feature request https://github.com/vendrhub/vendr/issues/356
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Async notification handling in Vendr
Hi,
I need to perform some async tasks after an order is finalized. The EventHandlers seem to only support a sync Handle function, not an async one. Is there a way to handle the events in an async manner?
Thanks!
Yannic
Hi Yannic,
Unfortunately not. Our event handlers are all currently synchronous only so you'll have to force the async method to run in a synchronous manner.
I've added this to our issue tracker as a feature request https://github.com/vendrhub/vendr/issues/356
is working on a reply...