Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 618 Bytes

File metadata and controls

28 lines (20 loc) · 618 Bytes

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
    });
    ...
}