#
Interface: Operator<Input, Output>"urx/src/pipe".Operator
Operators can transform and control the flow of values. pipe is used to transform one Emitter into another by stacking operators to its values. To build your own operator that looks like the built-in ones, create a function which returns an operator. The following custom operator multiplies the passed value:
#
Type parametersName | Default |
---|---|
Input | - |
Output | Input |
#
Hierarchy- Operator
#
Callableâ–¸ (done
: (value: Output) => void): function
Defined in urx/src/pipe.ts:42
Operators can transform and control the flow of values. pipe is used to transform one Emitter into another by stacking operators to its values. To build your own operator that looks like the built-in ones, create a function which returns an operator. The following custom operator multiplies the passed value:
#
Parameters:Name | Type |
---|---|
done | (value: Output) => void |
Returns: function