Skip to content

Commit

Permalink
Correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil authored Jan 2, 2024
1 parent 62bf1b1 commit acda0db
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 @@ -17,7 +17,7 @@ pub fn main() {
let pid3 = process.spawn(fn() { process.sleep(500) })
// Wait for them to exit
process_waiter.wait([pid1, pid2, pid3])
process_waiter.await_forever([pid1, pid2, pid3])
// The processes have now finished
process.is_alive(pid1) // -> False
Expand Down

0 comments on commit acda0db

Please sign in to comment.