Table of Contents

Interface IOperationProcessorAccessor

Namespace
JsonApiDotNetCore.AtomicOperations
Assembly
JsonApiDotNetCore.dll

Retrieves an IOperationProcessor instance from the D/I container and invokes a method on it.

public interface IOperationProcessorAccessor

Methods

ProcessAsync(OperationContainer, CancellationToken)

Invokes ProcessAsync(OperationContainer, CancellationToken) on a processor compatible with the operation kind.

Task<OperationContainer?> ProcessAsync(OperationContainer operation, CancellationToken cancellationToken)

Parameters

operation OperationContainer
cancellationToken CancellationToken

Returns

Task<OperationContainer>