264 Views
MediatR 10.0.0 released today: This release adds support for IAsyncEnumerable with separate types for this separate kind of request/response: And two new methods on IMediator: IAsyncEnumerable CreateStream(IStreamRequest request, CancellationToken cancellationToken = default) IAsyncEnumerable CreateStream(object request, CancellationToken cancellationToken = default) With this addition, you can take advantage of streaming support of various APIs and hosts to build high-performant handlers.
0 comments