Skip to content

Commit

Permalink
Clarify the use of val in notify (#42136)
Browse files Browse the repository at this point in the history
Co-authored-by: Michele Zaffalon <michele.zaffalon@bruker.com>
  • Loading branch information
mzaffalon and Michele Zaffalon authored Sep 17, 2021
1 parent 842e1c3 commit 30a8e4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/condition.jl
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ end
Block the current task until some event occurs, depending on the type of the argument:
* [`Channel`](@ref): Wait for a value to be appended to the channel.
* [`Condition`](@ref): Wait for [`notify`](@ref) on a condition.
* [`Condition`](@ref): Wait for [`notify`](@ref) on a condition and return the `val`
parameter passed to `notify`.
* `Process`: Wait for a process or process chain to exit. The `exitcode` field of a process
can be used to determine success or failure.
* [`Task`](@ref): Wait for a `Task` to finish. If the task fails with an exception, a
Expand Down

0 comments on commit 30a8e4c

Please sign in to comment.