Skip to content

Commit b78074e

Browse files
Corrected psdelegate usage example
1 parent f1db0e5 commit b78074e

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
@@ -89,7 +89,7 @@ There's two main ways to use the module.
8989

9090
```powershell
9191
$a = 0
92-
$delegate = { $a += 1 }
92+
$delegate = [psdelegate]{ $a += 1 }
9393
$actions = $delegate, $delegate, $delegate, $delegate
9494
[System.Threading.Tasks.Parallel]::Invoke($actions)
9595
$a

0 commit comments

Comments
 (0)