Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Channel{T}(f::Function) constructors. #30855

Merged
merged 6 commits into from
Aug 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add !!! compat "Julia 1.3" message
  • Loading branch information
NHDaly committed Jul 13, 2019
commit e0481cb9448db2bec29c1de2157f0ace48a094df
3 changes: 3 additions & 0 deletions base/channels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ julia> istaskdone(taskref[])
true
```

NHDaly marked this conversation as resolved.
Show resolved Hide resolved
!!! compat "Julia 1.3"
The following constructors were added in Julia 1.3.

Other constructors:
* `Channel{T}(func::Function, sz=0)`
* `Channel{T}(func::Function; csize=0, taskref=nothing)`
Expand Down