class

Cute::TimedBufferSink(T)

Inherits Cute::IntervalSink / Cute::Sink / Cute::Signal / Reference / Object

Combination of IntervalSink and BufferSink: Consumes data until either the maximum #size is reached, or the set #interval elapsed.

See Sink for documentation on the usage.

Constructors

new(size : Int32, interval : Time::Span)
Source

Instance methods

size

Size of the buffer

Source
size=(size : Int32)

Size of the buffer

Source