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

6 methods from Object ► show

Instance Methods

Inherited instance methods

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

Undocumented instance methods

.filterEvent(event, val)

Examples