StreamClutch:
Filter:

StreamClutch : Stream : AbstractFunction : Object

buffers a streamed value
Source: Stream.sc

Class Methods

StreamClutch.new(pattern, connected: true)

Arguments:

pattern

a pattern or stream to be buffered.

connected

if true it will call the next stream value for each time next is called. if false it returns the last value.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.connected

.connected = value

.lastValue

.next(inval)

.reset

.reset = value

.step(inval)

.stream

.stream = value

Examples