Skip to content
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

added support for intercepting methods that return IAsyncEnumerable #183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ArnaudDebaene
Copy link

Hello JSkimming,

Here is a 1st implementation of adding support to IAsyncInterceptor in order to support mehods that return IAsyncEnumerable<>

Note that:

  • I have NOT implemented support in AsyncInterceptorBase, because I am not certain about what should be done in that case... (simply call InterceptAsync<T> ? Add a new abstract method in AsyncInterceptorBase?)

  • I have implemented only a few unit tests, nothing concerning exception handling.

For now, it is more a "proof of concept" that anything else.

PS : I had to remove support for net45, because it does not support IAsyncEnumerable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant