Channel
Channel{T}(sz::Int)
Constructs a Channel
that can hold a maximum of sz
objects of type T
. put!
calls on a full channel block till an object is removed with take!
.
Other constructors:
Channel()
- equivalent toChannel{Any}(32)
Channel(sz::Int)
equivalent toChannel{Any}(sz)
Examples
See Also
Channel, close, put!, take!,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.