You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi.
I'm trying to implement Event bus using nhibernate event system. I implemented IPostInsertEventListener and added functionality on OnPostInsertAsync. and OnPostInsert didn't do anything.
My entire flow with nhibernate is with async operation (commitAsync, AddAsync,LoadAsync etc)
I put a breakpoint on my system and saw that OnPostInsert function was selection and not the async.
Added nhibernate reference to my code in order to see what is the bug. this is my callstack
I saw that in AfterTransactionCompletionAsync the sync method of AfterTransactionCompletion is called and not the async version. why is that?
The text was updated successfully, but these errors were encountered:
This is a limitation of the current async code generator. The transaction completion action queue fires delegates which in turn call these events. But the async code generator does not handle delegates, leaving these calls synchronous.
So in such cases, the synchronous events are raised instead.
Hi.
I'm trying to implement Event bus using nhibernate event system. I implemented IPostInsertEventListener and added functionality on OnPostInsertAsync. and OnPostInsert didn't do anything.
My entire flow with nhibernate is with async operation (commitAsync, AddAsync,LoadAsync etc)
I put a breakpoint on my system and saw that OnPostInsert function was selection and not the async.
Added nhibernate reference to my code in order to see what is the bug. this is my callstack
I saw that in AfterTransactionCompletionAsync the sync method of AfterTransactionCompletion is called and not the async version. why is that?
The text was updated successfully, but these errors were encountered: