Skip to content

Commit

Permalink
Corrected psdelegate usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeminglyScience committed Apr 23, 2018
1 parent f1db0e5 commit b78074e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ There's two main ways to use the module.

```powershell
$a = 0
$delegate = { $a += 1 }
$delegate = [psdelegate]{ $a += 1 }
$actions = $delegate, $delegate, $delegate, $delegate
[System.Threading.Tasks.Parallel]::Invoke($actions)
$a
Expand Down

0 comments on commit b78074e

Please sign in to comment.