Skip to content

Commit

Permalink
improve Channel special constructor docstring (JuliaLang#43979)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris authored and LilithHafner committed Mar 8, 2022
1 parent 9a109d5 commit f82b955
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ Channel(sz=0) = Channel{Any}(sz)
Create a new task from `func`, bind it to a new channel of type
`T` and size `size`, and schedule the task, all in a single call.
The channel is automatically closed when the task terminates.
`func` must accept the bound channel as its only argument.
Expand Down

0 comments on commit f82b955

Please sign in to comment.