Ptrace:
Filter:

Ptrace : FilterPattern : Pattern : AbstractFunction : Object

Print out the results of a stream

Description

Print out the results of a stream while returning the original values.

Tracing a pattern is most commonly done by using the .trace method directly on the pattern like this:

Class Methods

Ptrace.new(pattern, key, printStream, prefix: "")

Arguments:

pattern

printOn this stream (default: Post).

key

when streaming events, post only this key.

printStream

(describe argument here)

prefix

string added to the printout to separate different streams.

Returns:

Original values

Inherited class methods

Instance Methods

.storeArgs

.embedInStream(inval)

Arguments:

inval

.key

.key = value

Inherited instance methods

Examples