@istock/iswork / Exports / Observable
Class: Observable<V>
Type parameters
Name | Type |
---|---|
V | unknown |
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Observable<V
>(subscribeCallback
): Observable
<V
>
Type parameters
Name | Type |
---|---|
V | unknown |
Parameters
Name | Type |
---|---|
subscribeCallback | TSubscribeCallback <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
Name | Type |
---|---|
observer | IObserver <V > |
Returns
Defined in
src/packages/iswork/src/message/message-observable.ts:17
create
▸ create<V
>(subscribeCallback
): Observable
<V
>
Type parameters
Name |
---|
V |
Parameters
Name | Type |
---|---|
subscribeCallback | TSubscribeCallback <V > |
Returns
Observable
<V
>
Defined in
src/packages/iswork/src/message/message-observable.ts:21