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

VxBehaviorSubject

Static Method Summary

Static Public Methods
public static

Creates BehaviorSubjects

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

Calls next on Complete Subject

public

error(error: *)

Calls next on Error Subject

public

next(value: *)

Calls next on Next Subject

public

subscribe(handler: *): object | boolean

Subscribes handler method to property observer

Static Public Methods

public static create(): VxBehaviorSubject source

Creates BehaviorSubjects

Public Constructors

public constructor() source

Public Methods

public complete() source

Calls next on Complete Subject

public error(error: *) source

Calls next on Error Subject

Params:

NameTypeAttributeDescription
error *

public next(value: *) source

Calls next on Next Subject

Params:

NameTypeAttributeDescription
value *

public subscribe(handler: *): object | boolean source

Subscribes handler method to property observer

Params:

NameTypeAttributeDescription
handler *

Return:

object | boolean