Skip to content

Latest commit

 

History

History

LLL.DurableTask.Client

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

LLL.DurableTask.Client Nuget

Dependency injection extensions to configure TaskHubClient.

Allows management of orchestrations via code.

Depends on

  • Storage

Configuration

services.AddDurableTaskClient();

Usage

public IActionResult BookPackage([FromService] TaskHubClient taskHubClient) {
    await taskHubClient.CreateOrchestrationInstanceAsync("BookParallel", "v1", new {
        bookFlight: true,
        bookHotel: true,
        bookCar: true
    });
    ...
}