Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yannic 2 posts 82 karma points
    Mar 15, 2022 @ 18:49
    Yannic
    0

    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

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Mar 16, 2022 @ 09:08
    Matt Brailsford
    100

    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

Please Sign in or register to post replies

Write your reply to:

Draft