Table of Contents

Class InMemoryWorkflowExtensions

Namespace
JD.AI.Workflows.Distributed.InMemory
Assembly
JD.AI.Workflows.Distributed.dll

DI extensions for the in-memory transport.

public static class InMemoryWorkflowExtensions
Inheritance
InMemoryWorkflowExtensions
Inherited Members

Methods

AddInMemoryWorkflowDispatcher(IServiceCollection, int)

Registers the in-memory channel-based dispatcher and worker service.

public static IServiceCollection AddInMemoryWorkflowDispatcher(this IServiceCollection services, int capacity = 1000)

Parameters

services IServiceCollection

The service collection.

capacity int

Bounded channel capacity (default 1,000).

Returns

IServiceCollection