-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Async method support in IInterceptionBehaviour #16
Comments
Unity as of now does not do anything asynchronously. Can you provide more info? |
In case of an awaitable target of the interception, I should be able to await the result in the IInterceptionBehavior.Invoke. Should I provide a more elaborate example? |
Please do |
The output of this will be
Because Even though I can work around that, with:
it still feels like the async targets could be supported by the library. |
You are not alone in this thought. |
More information on how it can be handled at the moment: Code download:
Edit: |
Hi, what's the progress of this feature? |
Still in development |
Can you provide a new status? Still in dev? Any ideas on when to expect this to be ready? |
The optimistic prognosis would be sometime in September |
My usecase is that I'm trying to implement entry/exit/exception logging on an async method.
I an IInterceptionBehavoiur implementation, the call to getNext()(...) is performed asynchronously and I don't get to log the exit of the funciton.
The text was updated successfully, but these errors were encountered: