Pbindf:
Filter:

Pbindf : FilterPattern : Pattern : AbstractFunction : Object

bind several value patterns to one existing event stream by binding keys to values

Description

Pbindf adds several value streams into one existing event stream. Each value stream is assigned to one or more keys in the resulting event stream, overriding any values from the input stream.

The patterns bound to keys are referred to as value patterns and the Pbindf itself is termed an event pattern.

Class Methods

Pbindf.new(pattern ... pairs)

The arguments to Pbindf is the initial pattern followed by an alternating sequence of keys and patterns. A pattern can also be bound to an array of keys. In this case, the pattern must specify a sequence whose elements are arrays with at least as many elements as there are keys.

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.embedInStream(event)

.patternpairs

.patternpairs = value

Examples