Home Reference Source
import {PipeListener} from 'datamatic/src/Pipeline/Pipeline.js'
public class | source

PipeListener

Constructor Summary

Public Constructor
public

constructor(target: *)

Member Summary

Public Members
public get
public get
public get

Method Summary

Public Methods
public

closes pipeline on complete notification

public

error(e: *)

public

next(data: *): Promise<void|never>

public

subscribe(handler: *)

Public Constructors

public constructor(target: *) source

Params:

NameTypeAttributeDescription
target *

Public Members

public get out: Validator: * source

Return:

Validator

public get target: Pipeline: * source

Return:

Pipeline

public get vo: Validator: * source

Return:

Validator

Public Methods

public complete() source

closes pipeline on complete notification

public error(e: *) source

Params:

NameTypeAttributeDescription
e *

public next(data: *): Promise<void|never> source

Params:

NameTypeAttributeDescription
data *

Return:

Promise<void|never>

public subscribe(handler: *) source

Params:

NameTypeAttributeDescription
handler *