Skip to content

@istock/iswork / Exports / Observable

Class: Observable<V>

Type parameters

NameType
Vunknown

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Observable<V>(subscribeCallback): Observable<V>

Type parameters

NameType
Vunknown

Parameters

NameType
subscribeCallbackTSubscribeCallback<V>

Returns

Observable<V>

Defined in

src/packages/iswork/src/message/message-observable.ts:13

Properties

#subscribeCallback

Private Readonly #subscribeCallback: TSubscribeCallback<V>

Defined in

src/packages/iswork/src/message/message-observable.ts:11

Methods

subscribe

subscribe(observer): TUnSubscribe

Parameters

NameType
observerIObserver<V>

Returns

TUnSubscribe

Defined in

src/packages/iswork/src/message/message-observable.ts:17


create

create<V>(subscribeCallback): Observable<V>

Type parameters

Name
V

Parameters

NameType
subscribeCallbackTSubscribeCallback<V>

Returns

Observable<V>

Defined in

src/packages/iswork/src/message/message-observable.ts:21

免责声明:本站所有信息、数据、软件仅供学习研究,都不构成投资建议,本站不承担由此导致的任何责任。