Pfinval : Pfin : FilterPattern : Pattern : AbstractFunction : Object

limit number of items embedded in a stream

Description

NOTE: Pfinval is not appropriate for wrapping Pmono, Pfx etc. For these types of event patterns, you should use Pfin.

Class Methods

Pfinval.new(count, pattern)

From superclass: Pfin

Embeds count elements of the pattern into the stream.

Inherited class methods

6 methods from Object ► show

Instance Methods

Inherited instance methods

2 methods from Pfin ► show
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