Skip to main content

Home > flowp > pipe > Transform

pipe.Transform class

Signature:

export declare class Transform<TIn, TOut> implements PipeTarget<TIn, PipeSource<TIn>>, PipeSource<TOut> 

Implements: PipeTarget<TIn, PipeSource<TIn>>, PipeSource<TOut>

Constructors

ConstructorModifiersDescription
(constructor)(handler)creates a pipe that transforms data from TIn to TOut

Properties

PropertyModifiersTypeDescription
handler(value: TIn, source?: PipeSource<TIn>) => TOut

Methods

MethodModifiersDescription
pipe(target)
unpipe()