Skip to content

Commit

Permalink
Update statement about equivalence
Browse files Browse the repository at this point in the history
  • Loading branch information
Satvik committed Jul 30, 2024
1 parent 86ac5a4 commit dc188b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/asynchronous-programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ to finish before proceeding.

It is common to want to create a task and schedule it right away, so the
macro [`Threads.@spawn`](@ref) is provided for that purpose --- `Threads.@spawn x` is
equivalent to `schedule(@task x)`.
equivalent to `task = @task x; task.sticky = false; schedule(task)`.

## Communicating with Channels

Expand Down

0 comments on commit dc188b9

Please sign in to comment.