Directories
¶
| Path | Synopsis |
|---|---|
|
Basic ebind usage: register one handler, enqueue a task, await the typed result.
|
Basic ebind usage: register one handler, enqueue a task, await the typed result. |
|
Retry policy: a task with a RetryPolicy attached to it.
|
Retry policy: a task with a RetryPolicy attached to it. |
|
Fire-and-forget: EnqueueAsync returns as soon as the task is published.
|
Fire-and-forget: EnqueueAsync returns as soon as the task is published. |
|
HA cluster: start 3 NATS JetStream nodes in-process with replicated streams.
|
HA cluster: start 3 NATS JetStream nodes in-process with replicated streams. |
|
Custom middleware: a timing wrapper that logs every handler's duration.
|
Custom middleware: a timing wrapper that logs every handler's duration. |
|
Linear DAG workflow: A → B → C. Each step's output feeds the next.
|
Linear DAG workflow: A → B → C. Each step's output feeds the next. |
|
Fan-out / fan-in: kick off two independent steps in parallel, then combine.
|
Fan-out / fan-in: kick off two independent steps in parallel, then combine. |
|
Optional steps + RefOrDefault: a step is marked Optional so its failure doesn't fail the DAG.
|
Optional steps + RefOrDefault: a step is marked Optional so its failure doesn't fail the DAG. |
|
Dynamic DAG: a handler inspects its input and adds more steps to the currently-running DAG via workflow.FromContext(ctx).Step(...).
|
Dynamic DAG: a handler inspects its input and adds more steps to the currently-running DAG via workflow.FromContext(ctx).Step(...). |
|
Time-only dependencies: After() and AfterAny().
|
Time-only dependencies: After() and AfterAny(). |
|
Cross-instance resume: a second instance picks up waiting on a DAG that a first instance submitted and then "crashed" (the example simulates this by exiting).
|
Cross-instance resume: a second instance picks up waiting on a DAG that a first instance submitted and then "crashed" (the example simulates this by exiting). |
Click to show internal directories.
Click to hide internal directories.