class Concurrent::Stream::Batch(S, D)
- Concurrent::Stream::Batch(S, D)
- Concurrent::Stream::SendRecv(Array(D), Nil)
- Concurrent::Stream::Base
- Reference
- Object
Defined in:
concurrent/stream.crConstructors
Instance methods inherited from class Concurrent::Stream::SendRecv(Array(D), Nil)
batch(size : Int32, *, flush_interval : Float? = nil, flush_empty : Bool = false)
batch,
close : Nil
close,
map(*, fibers : Int32? = nil, &block : T(D) -> U) forall U
map,
run(*, fibers : Int32? = nil, &block : T(D) -> _)
run,
scope(&block : -> U) forall U
scope,
select(*, fibers : Int32? = nil, &block : T(D) -> Bool)
select,
serial
serial,
tee(*, fibers : Int32? = nil, &block : T(D) -> _)
tee,
to_a(*args, **options)to_a(*args, **options, &) to_a
Constructor methods inherited from class Concurrent::Stream::SendRecv(Array(D), Nil)
new(*, fibers : Int32, dst_vch : Channel(T(D)), 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