Paddpre:
Filter:
Classes | Streams-Patterns-Events > Patterns > Math

Paddpre : Psetpre : FilterPattern : Pattern : AbstractFunction : Object

event pattern that adds to existing value of one key

Description

Adds a value in an event, before it is passed up the stream. To add to the value after it has been passed to the stream, use Padd.

Paddpre does not override incoming values:

Class Methods

Paddpre.new(name, value, pattern)

From superclass: Psetpre

Arguments:

name

the key

value

can be a pattern or a stream. The resulting stream ends when that incoming stream ends.

pattern

the pattern

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.filterEvent(event, val)

Examples