ion-sdk-rxjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

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-rxjs

Usage

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.

Readme

Keywords

none

Package Sidebar

Install

npm i ion-sdk-rxjs

Weekly Downloads

10

Version

1.0.9

License

MIT

Unpacked Size

58.9 kB

Total Files

16

Last publish

Collaborators

  • kevmo314