Skip to content

[Feature]: Enhancing Cortex.Mediator | Streaming Requests #178

Description

@eneshoxha

Support for IAsyncEnumerable responses for large datasets:

public interface IStreamQuery<TResult> { }
public interface IStreamQueryHandler<TQuery, TResult> 
    where TQuery : IStreamQuery<TResult>
{
    IAsyncEnumerable<TResult> Handle(TQuery query, CancellationToken ct);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeatureThis label is in use for minor version increments

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions