class Concurrent::Stream::Serial(T, E)
- Concurrent::Stream::Serial(T, E)
- Concurrent::Stream::Destination(E)
- Concurrent::Stream::Base
- Reference
- Object
Included Modules
Defined in:
concurrent/stream.crConstructors
Instance Method Summary
-
#each(&)
Must yield this collection's elements to the block.
Instance methods inherited from module Enumerable(T)
parallel(*, fibers : Int32 = System.cpu_count.to_i)
parallel,
serial : self
serial
Instance methods inherited from class Concurrent::Stream::Destination(E)
close : Nil
close,
detach(&block)detach detach, wait(*args, **options)
wait(*args, **options, &) wait
Constructor methods inherited from class Concurrent::Stream::Destination(E)
new(fibers, parent)
new
Instance methods inherited from class Concurrent::Stream::Base
close : Nil
close
Constructor methods inherited from class Concurrent::Stream::Base
new(*, fibers : Int32, parent : Concurrent::Stream::Base | Nil)
new
Constructor Detail
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(T)
Must yield this collection's elements to the block.