Interface: IOperationObservable

January 17, 2020 · View on GitHub

@daostack/clientGlobalsIOperationObservable

Interface: IOperationObservable <T>

An operation is a stream of transaction updates

Type parameters

T

Hierarchy

  • Observable‹T›

    IOperationObservable

Implements

  • Subscribable‹T›

Index

Constructors

Properties

Methods

Constructors

constructor

+ new IOperationObservable(subscribe?: undefined | function): IOperationObservable

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:19

constructor

Parameters:

NameTypeDescription
subscribe?undefined | functionthe function that is called when the Observable is initially subscribed to. This function is given a Subscriber, to which new values can be nexted, or an error method can be called to raise an error, or complete can be called to notify of a successful completion.

Returns: IOperationObservable

Properties

_isScalar

_isScalar: boolean

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:15

Internal implementation detail, do not use directly.


operator

operator: Operator‹any, T›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:19

deprecated This is an internal implementation detail, do not use.


send

send: function

Defined in operation.ts:35

Type declaration:

▸ (): Promise‹Web3Receipt


source

source: Observable‹any›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:17

deprecated This is an internal implementation detail, do not use.


Static create

create: Function

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:38

Creates a new cold Observable by calling the Observable constructor

static true

owner Observable

method create

param the subscriber function to be passed to the Observable constructor

returns a new cold observable

nocollapse

deprecated use new Observable() instead


Static if

if: iif

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:71

nocollapse

deprecated In favor of iif creation function: import { iif } from 'rxjs';


Static throw

throw: throwError

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:76

nocollapse

deprecated In favor of throwError creation function: import { throwError } from 'rxjs';

Methods

_subscribe

_subscribe(subscriber: Subscriber‹any›): TeardownLogic

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:66

internal This is an internal implementation detail, do not use.

Parameters:

NameType
subscriberSubscriber‹any›

Returns: TeardownLogic


_trySubscribe

_trySubscribe(sink: Subscriber‹T›): TeardownLogic

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:56

deprecated This is an internal implementation detail, do not use.

Parameters:

NameType
sinkSubscriber‹T›

Returns: TeardownLogic


forEach

forEach(next: function, promiseCtor?: PromiseConstructorLike): Promise‹void›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:64

method forEach

Parameters:

next: function

a handler for each value emitted by the observable

▸ (value: T): void

Parameters:

NameType
valueT

Optional promiseCtor: PromiseConstructorLike

Returns: Promise‹void›

a promise that either resolves on observable completion or rejects with the handled error


lift

lift<R>(operator: Operator‹T, R›): Observable‹R›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:46

Creates a new Observable, with this Observable as the source, and the passed operator defined as the new observable's operator.

method lift

Type parameters:

R

Parameters:

NameTypeDescription
operatorOperator‹T, R›the operator defining the operation to take on the observable

Returns: Observable‹R›

a new observable with the Operator applied


pipe

pipe(): Observable‹T›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:77

Returns: Observable‹T›

pipe<A>(op1: OperatorFunction‹T, A›): Observable‹A›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:78

Type parameters:

A

Parameters:

NameType
op1OperatorFunction‹T, A›

Returns: Observable‹A›

pipe<A, B>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›): Observable‹B›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:79

Type parameters:

A

B

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›

Returns: Observable‹B›

pipe<A, B, C>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›): Observable‹C›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:80

Type parameters:

A

B

C

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›

Returns: Observable‹C›

pipe<A, B, C, D>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›): Observable‹D›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:81

Type parameters:

A

B

C

D

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›

Returns: Observable‹D›

pipe<A, B, C, D, E>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›): Observable‹E›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:82

Type parameters:

A

B

C

D

E

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›

Returns: Observable‹E›

pipe<A, B, C, D, E, F>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›, op6: OperatorFunction‹E, F›): Observable‹F›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:83

Type parameters:

A

B

C

D

E

F

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›
op6OperatorFunction‹E, F›

Returns: Observable‹F›

pipe<A, B, C, D, E, F, G>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›, op6: OperatorFunction‹E, F›, op7: OperatorFunction‹F, G›): Observable‹G›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:84

Type parameters:

A

B

C

D

E

F

G

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›
op6OperatorFunction‹E, F›
op7OperatorFunction‹F, G›

Returns: Observable‹G›

pipe<A, B, C, D, E, F, G, H>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›, op6: OperatorFunction‹E, F›, op7: OperatorFunction‹F, G›, op8: OperatorFunction‹G, H›): Observable‹H›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:85

Type parameters:

A

B

C

D

E

F

G

H

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›
op6OperatorFunction‹E, F›
op7OperatorFunction‹F, G›
op8OperatorFunction‹G, H›

Returns: Observable‹H›

pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›, op6: OperatorFunction‹E, F›, op7: OperatorFunction‹F, G›, op8: OperatorFunction‹G, H›, op9: OperatorFunction‹H, I›): Observable‹I›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:86

Type parameters:

A

B

C

D

E

F

G

H

I

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›
op6OperatorFunction‹E, F›
op7OperatorFunction‹F, G›
op8OperatorFunction‹G, H›
op9OperatorFunction‹H, I›

Returns: Observable‹I›

pipe<A, B, C, D, E, F, G, H, I>(op1: OperatorFunction‹T, A›, op2: OperatorFunction‹A, B›, op3: OperatorFunction‹B, C›, op4: OperatorFunction‹C, D›, op5: OperatorFunction‹D, E›, op6: OperatorFunction‹E, F›, op7: OperatorFunction‹F, G›, op8: OperatorFunction‹G, H›, op9: OperatorFunction‹H, I›, ...operations: OperatorFunction‹any, any›[]): Observable‹__type›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:87

Type parameters:

A

B

C

D

E

F

G

H

I

Parameters:

NameType
op1OperatorFunction‹T, A›
op2OperatorFunction‹A, B›
op3OperatorFunction‹B, C›
op4OperatorFunction‹C, D›
op5OperatorFunction‹D, E›
op6OperatorFunction‹E, F›
op7OperatorFunction‹F, G›
op8OperatorFunction‹G, H›
op9OperatorFunction‹H, I›
...operationsOperatorFunction‹any, any›[]

Returns: Observable‹__type›


subscribe

subscribe(observer?: PartialObserver‹T›): Subscription

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:47

Parameters:

NameType
observer?PartialObserver‹T›

Returns: Subscription

subscribe(next: null | undefined, error: null | undefined, complete: function): Subscription

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:49

deprecated Use an observer instead of a complete callback

Parameters:

next: null | undefined

error: null | undefined

complete: function

▸ (): void

Returns: Subscription

subscribe(next: null | undefined, error: function, complete?: undefined | function): Subscription

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:51

deprecated Use an observer instead of an error callback

Parameters:

next: null | undefined

error: function

▸ (error: any): void

Parameters:

NameType
errorany

Optional complete: undefined | function

Returns: Subscription

subscribe(next: function, error: null | undefined, complete: function): Subscription

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:53

deprecated Use an observer instead of a complete callback

Parameters:

next: function

▸ (value: T): void

Parameters:

NameType
valueT

error: null | undefined

complete: function

▸ (): void

Returns: Subscription

subscribe(next?: undefined | function, error?: undefined | function, complete?: undefined | function): Subscription

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:54

Parameters:

NameType
next?undefined | function
error?undefined | function
complete?undefined | function

Returns: Subscription


toPromise

toPromise<T>(this: Observable‹T›): Promise‹T›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:88

Type parameters:

T

Parameters:

NameType
thisObservable‹T›

Returns: Promise‹T›

toPromise<T>(this: Observable‹T›, PromiseCtor: PromiseConstructor): Promise‹T›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:89

Type parameters:

T

Parameters:

NameType
thisObservable‹T›
PromiseCtorPromiseConstructor

Returns: Promise‹T›

toPromise<T>(this: Observable‹T›, PromiseCtor: PromiseConstructorLike): Promise‹T›

Inherited from void

Defined in /home/jelle/projects/daostack/client/node_modules/rxjs/internal/Observable.d.ts:90

Type parameters:

T

Parameters:

NameType
thisObservable‹T›
PromiseCtorPromiseConstructorLike

Returns: Promise‹T›