class Concurrent::Stream::Map(S, D, E, SC)

Defined in:

concurrent/stream.cr

Constructors

Instance methods inherited from class Concurrent::Stream::SendRecv(D, D, D | E, SC)

batch(size : Int32, *, flush_interval : Float | Nil = nil, flush_empty : Bool = false) batch, close : Nil close, errors(*, fibers : Int32 | Nil = nil, &block : Exception, E | 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(D, D, D | E, SC)

new(*, fibers : Int32, dst_vch : Channel(V), dst_ech : Channel(Tuple(Exception, E | 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, scope, parent, block : S -> D) #

[View source]