We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adc3782 commit 33ffb1cCopy full SHA for 33ffb1c
README.md
@@ -54,7 +54,7 @@ builder.Services.AddTaskProcessorExecutor();
54
55
```csharp
56
var taskId = await _processor.EnqueueTaskAsync("default", "my-tenant",
57
- _someScopedService.DoSomethingAsync("hello", CancellationToken.None),
+ () => _someScopedService.DoSomethingAsync("hello", CancellationToken.None),
58
delayUntil: DateTimeOffset.UtcNow.AddSeconds(5));
59
```
60
0 commit comments