Const
You can call .subscribe() on this RxJS Observable
.subscribe()
import { PublicWs } from 'ts-kraken'; PublicWs.status$.subscribe(({ channel, data: [{ api_version, system }] }) => { console.log({ channel, api_version, system }); }); Copy
import { PublicWs } from 'ts-kraken'; PublicWs.status$.subscribe(({ channel, data: [{ api_version, system }] }) => { console.log({ channel, api_version, system }); });
You can call
.subscribe()
on this RxJS Observable