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
Constructor | Modifiers | Description |
---|---|---|
(constructor)(handler) | creates a pipe that transforms data from TIn to TOut |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
handler | (value: TIn, source?: PipeSource<TIn>) => TOut |
Methods
Method | Modifiers | Description |
---|---|---|
pipe(target) | ||
unpipe() |