Pipeline
Pipeline Class
Static Method Summary
Static Public Methods | ||
public static |
getExecs(_pvs: ...*): * |
Constructor Summary
Public Constructor | ||
public |
constructor(pipesOrVOsOrSchemas: *) |
Member Summary
Public Members | ||
public get |
Returns validation errors |
|
public get |
Returns arr |
|
public get |
Returns JSON-SCHEMA for |
|
public get |
Returns write status of |
Method Summary
Public Methods | ||
public |
Creates clone of current |
|
public |
Terminates input on |
|
public |
links pipeline segment to direct output to target pipeline |
|
public |
Merges multiple pipes into single output |
|
public |
Creates new |
|
public |
Convenience Method for Promise based flows. |
|
public |
Returns product of Nth occurrence of |
|
public |
split(schemasOrPipes: *): * Creates array of new |
|
public |
subscribe(handler: *): Observable Subscribes to |
|
public |
Provides current state of |
|
public |
Informs |
|
public |
Provides current state of |
|
public |
Overrides Object's toString method |
|
public |
Unlink |
|
public |
unthrottle(discardCacheQueue: *) Removes rate limiting from |
|
public |
Writes data to pipeline segment |
|
public |
yield(data: *): generator Iterates pipeline callbacks via generator function |
Static Public Methods
public static getExecs(_pvs: ...*): * source
Params:
Name | Type | Attribute | Description |
_pvs | ...* |
Return:
* |
Public Constructors
public constructor(pipesOrVOsOrSchemas: *) source
Params:
Name | Type | Attribute | Description |
pipesOrVOsOrSchemas | * |
Public Members
Public Methods
public link(target: *, callbacks: *): Pipeline source
links pipeline segment to direct output to target pipeline
Params:
Name | Type | Attribute | Description |
target | * | ||
callbacks | * | function[] |
public merge(pipeOrPipes: *, pipeOrSchema: *): Pipeline source
Merges multiple pipes into single output
Params:
Name | Type | Attribute | Description |
pipeOrPipes | * | ||
pipeOrSchema | * |
public pipe(pipesOrSchemas: *): Pipeline source
Creates new pipeline
segment
Params:
Name | Type | Attribute | Description |
pipesOrSchemas | * |
public async promise(data: *): Promise<Pipeline> source
Convenience Method for Promise based flows.
Writes data to pipeline
and wraps observer in Promise
Params:
Name | Type | Attribute | Description |
data | * |
public sample(nth: *): Pipeline source
Returns product of Nth occurrence of pipeline
execution
Params:
Name | Type | Attribute | Description |
nth | * |
public split(schemasOrPipes: *): * source
Creates array of new pipeline
segments that run in parallel
Params:
Name | Type | Attribute | Description |
schemasOrPipes | * |
Return:
* |
public subscribe(handler: *): Observable source
Subscribes to pipeline
output notifications
Params:
Name | Type | Attribute | Description |
handler | * |
Return:
Observable |
public throttle(rate: *): Pipeline source
Informs Pipeline
to rate limit notifications based on time interval
Params:
Name | Type | Attribute | Description |
rate | * |
public unlink(target: *): Pipeline source
Unlink pipeline
segment from target pipeline
Params:
Name | Type | Attribute | Description |
target | * |
public unthrottle(discardCacheQueue: *) source
Removes rate limiting from Pipeline
and optionally deletes unprocessed cache items
Params:
Name | Type | Attribute | Description |
discardCacheQueue | * |
public write(data: *): Pipeline source
Writes data to pipeline segment
Params:
Name | Type | Attribute | Description |
data | * |
public yield(data: *): generator source
Iterates pipeline callbacks via generator function
Params:
Name | Type | Attribute | Description |
data | * |
Return:
generator |