Ben.BlockingDetector icon indicating copy to clipboard operation
Ben.BlockingDetector copied to clipboard

provide alternative for non aspnet code

Open JanEggers opened this issue 6 years ago • 0 comments

Hi there,

awesome library could you please provide a class the lets you monitor a call stuff that is not aspnet related.

i wanted to add this to my unittest to make shure nothing is blocking.

I copied over your code and instead of the middleware used a class that does the same but with an api

public async Task DetectBlockingCode(Func<Task>func)

If thats not possible it would be nice if you could create an internal folder but make all classes in there public so there is no need for copy cat...

JanEggers avatar Jul 01 '18 19:07 JanEggers