ion-sdk-rxjs
v1.0.9
Published
RxJS interface for ion-sdk.
Readme
ion-sdk-rxjs
RxJS-compatible bindings for ion. This was made to reduce the bundle size when the client is using RxJS as well as resolve a few memory leaks around listeners not being cleaned up.
Installation
npm install ion-sdk-rxjsUsage
The API is functional in style and has one entry point, connect(url).
import * as ion from "src/lib/ion";
ion.connect("wss://ionhost:port/ws");connect() returns a Client, from which the other functionality can be accessed. Full type definitions can be found here.
