Skip to content
Documentation

IBulkHandler<TBody,TResult> Interface

Defines the contract for a handler that processes a bulk of items for an HTTP endpoint that accepts a typed request body (e.g. POST or PUT).

public interface IBulkHandler<TBody,TResult>

TBody

The type of the per-item request body.

TResult

The type of value produced per item on success.

Implement this interface to provide optimised bulk processing for a specific endpoint that also receives a per-item request body: register the implementation with the dependency injection container and annotate the target action with BulkHandlerAttribute<THandler,TBody,TResult>.

IBulkHandler<TBody,TResult>.Handle(IEnumerable<(string Identifier,IReadOnlyDictionary<string,object> RouteParameters,IReadOnlyDictionary<string,IReadOnlyList<string>> QueryParameters,TBody Body)>, CancellationToken) Method

Section titled “IBulkHandler<TBody,TResult>.Handle(IEnumerable<(string Identifier,IReadOnlyDictionary<string,object> RouteParameters,IReadOnlyDictionary<string,IReadOnlyList<string>> QueryParameters,TBody Body)>, CancellationToken) Method”
System.Collections.Generic.IAsyncEnumerable<HAKOM.Automation.Http.Net.Api.Bulk.IBulkResponse<TResult>> Handle(System.Collections.Generic.IEnumerable<(string? Identifier,System.Collections.Generic.IReadOnlyDictionary<string,object?> RouteParameters,System.Collections.Generic.IReadOnlyDictionary<string,System.Collections.Generic.IReadOnlyList<string>> QueryParameters,TBody Body)> items, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken));

items System.Collections.Generic.IEnumerable<<System.String,System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>,System.Collections.Generic.IReadOnlyDictionary<System.String,System.Collections.Generic.IReadOnlyList<System.String>>,TBody>>

cancellationToken System.Threading.CancellationToken

System.Collections.Generic.IAsyncEnumerable<HAKOM.Automation.Http.Net.Api.Bulk.IBulkResponse<TResult>>

© 2026 Volue.Version v0.6.38017 November 2026