I'm trying to handle the OrderEvent to do some other tasks with expectation running on other thread. firtly I think it is not running on the main thread then I tried with example SiteOrderRepositoryCallback as link below
but it seems that running on the main thread, therefore other next actions are in waiting for this.
so do we have any way to make it can run on other thread ?
Thanks & Regards,
No, I don't think there is a way to run it on "another thread" - it is to make sure the listeners will get OnUpdating even before data operation happens, and OnUpdated after that. However, you can make your implementation async, if you want to.