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

6 methods from Object ► show

Instance Methods

Inherited instance methods

1 methods from FilterPattern ► show
43 methods from Pattern ► show
159 methods from AbstractFunction ► show
260 methods from Object ► show

Undocumented instance methods

.embedInStream(event)

Examples