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
servicesIServiceCollectionThe service collection.
capacityintBounded channel capacity (default 1,000).