Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Subject<T, U>

Type parameters

  • T = any

  • U: T | void = T | void

Hierarchy

Implements

Index

Constructors

constructor

Accessors

closed

  • get closed(): boolean

value

  • get value(): T | U

Methods

[observable]

complete

  • complete(): void

error

  • error(error: Error): void

next

  • next(value: T): void

subscribe

  • subscribe(observer?: Empty | Observer<T>): Subscription
  • subscribe(onNext: UnaryFn<T, void>, onError?: UnaryFn<Error, void>, onComplete?: NullaryFn<void>): Subscription

Static from

Static of

Generated using TypeDoc