Pwhile:
Filter:

Pwhile : FuncFilterPattern : FilterPattern : Pattern : AbstractFunction : Object

While a condition holds, repeatedly embed stream

Description

Repeatedly embed a Stream while the result of func is true.

Class Methods

Pwhile.new(func, pattern)

From superclass: FuncFilterPattern

Arguments:

func

Stream function. In an event stream receives the current Event as argument.

pattern

A Pattern.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(event)

Examples