Skip to content

Commit 33ffb1c

Browse files
authored
Update README.md
1 parent adc3782 commit 33ffb1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ builder.Services.AddTaskProcessorExecutor();
5454

5555
```csharp
5656
var taskId = await _processor.EnqueueTaskAsync("default", "my-tenant",
57-
_someScopedService.DoSomethingAsync("hello", CancellationToken.None),
57+
() => _someScopedService.DoSomethingAsync("hello", CancellationToken.None),
5858
delayUntil: DateTimeOffset.UtcNow.AddSeconds(5));
5959
```
6060

0 commit comments

Comments
 (0)