Carter icon indicating copy to clipboard operation
Carter copied to clipboard

Does IResponseNegotiator support IAsyncEnumerable

Open toddsmith-adsk opened this issue 1 year ago • 1 comments

toddsmith-adsk avatar Nov 21 '24 06:11 toddsmith-adsk

My guess is it would but you would have to work out how to write that to the response stream. The interface has this signature where I would think T could be IAsyncEnumerable

Task Handle<T>(HttpRequest req, HttpResponse res, T model, CancellationToken cancellationToken);

jchannon avatar Nov 22 '24 12:11 jchannon