class Concurrent::Stream::Tee(S, E)

Defined in:

concurrent/stream.cr

Constructors

Instance methods inherited from class Concurrent::Stream::SendRecv(S, S, E, Nil)

batch(size : Int32, *, flush_interval : Float | Nil = nil, flush_empty : Bool = false) batch, close : Nil close, errors(*, fibers : Int32 | Nil = nil, &block : Exception, E -> Nil) errors, map(*, fibers : Int32 | Nil = nil, &block : V -> U) forall U map, run(*, fibers : Int32 | Nil = nil, &block : V -> _) run, scope(&block : -> U) forall U scope, select(*, fibers : Int32 | Nil = nil, &block : V -> Bool) select, serial serial, tee(*, fibers : Int32 | Nil = nil, &block : V -> _) tee, to_a(*args, **options)
to_a(*args, **options, &)
to_a

Constructor methods inherited from class Concurrent::Stream::SendRecv(S, S, E, Nil)

new(*, fibers : Int32, dst_vch : Channel(V), dst_ech : Channel(Tuple(Exception, E)) | Nil = nil, 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

def self.new(src_vch : Channel(S), src_ech : Channel(Tuple(Exception, E)), *, fibers : Int32, parent, block : S -> _) #

[View source]