Files
api/docs/api-rx
2018-09-15 07:17:46 +00:00
..
2018-09-15 07:17:46 +00:00
2018-09-15 07:17:46 +00:00

polkadotjs isc style npm travis maintainability coverage dependency devDependency

@polkadot/api-rx

An RxJs wrapper around the @polkadot/api.

Index

Classes

Type aliases

Functions


Type aliases

RxApiInterface

Ƭ RxApiInterface: * RxApiInterface$Keys & object *

Defined in types.d.ts:19


RxApiInterface$Method

Ƭ RxApiInterface$Method: function

Defined in types.d.ts:9

Type declaration

▸(...params: Array<any>): Observable<any> | BehaviorSubject<any>

Parameters:

Param Type
Rest params Array<any>

Returns: Observable<any> | BehaviorSubject<any>


RxApiInterface$Section

Ƭ RxApiInterface$Section: object

Defined in types.d.ts:11

Type declaration


Functions

cached

▸ cached(subName: string, name: string, section: ApiInterface$Section): function

Defined in observable/cached.ts:19

Parameters:

Param Type
subName string
name string
section ApiInterface$Section

Returns: function


createInterface

▸ createInterface(api: ApiInterface, sectionName: Interface$Sections): RxApiInterface$Section

Defined in interface.ts:11

Parameters:

Param Type
api ApiInterface
sectionName Interface$Sections

Returns: RxApiInterface$Section


observable

▸ observable(subName: string, name: string, section: ApiInterface$Section): function

Defined in observable/index.ts:14

Parameters:

Param Type
subName string
name string
section ApiInterface$Section

Returns: function


subscription

▸ subscription(name: string, params: Array<any>, section: ApiInterface$Section, unsubCallback?: * undefined | function*): BehaviorSubject<any>

Defined in observable/subject.ts:10

Parameters:

Param Type
name string
params Array<any>
section ApiInterface$Section
Optional unsubCallback undefined | function

Returns: BehaviorSubject<any>