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 22224 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies