class Concurrent::Stream::Run(S)
- Concurrent::Stream::Run(S)
- Concurrent::Stream::SendRecv(S, Nil)
- Concurrent::Stream::Base
- Reference
- Object
Defined in:
concurrent/stream.crConstructors
- .new(src_vch : Channel(S), src_ech : Channel(Exception), *, fibers : Int32, parent, &block : S -> _)
Instance methods inherited from class Concurrent::Stream::SendRecv(S, Nil)
batch(size : Int32, *, flush_interval : Float? = nil, flush_empty : Bool = false)
batch,
close : Nil
close,
map(*, fibers : Int32? = nil, &block : T -> U) forall U
map,
run(*, fibers : Int32? = nil, &block : T -> _)
run,
scope(&block : -> U) forall U
scope,
select(*, fibers : Int32? = nil, &block : T -> Bool)
select,
serial
serial,
tee(*, fibers : Int32? = nil, &block : T -> _)
tee,
to_a(*args, **options)to_a(*args, **options, &) to_a
Constructor methods inherited from class Concurrent::Stream::SendRecv(S, Nil)
new(*, fibers : Int32, dst_vch : Channel(T), dst_ech : Channel(Exception)? = nil, parent)
new
Instance methods inherited from module Concurrent::Stream::Receive
handle_error(ex, src_vch, src_ech, dst_ech)
handle_error
Instance methods inherited from class Concurrent::Stream::Base
unhandled_error(ex : Exception) : Nil
unhandled_error,
wait(*args, **options)wait(*args, **options, &) wait