Const
You can call .subscribe() on this RxJS Observable.
.subscribe()
import { PublicWs } from 'ts-kraken'; PublicWs.connected$.subscribe(() => { console.log('Public WebsocketV2 connected successfully!\n'); }); Copy
import { PublicWs } from 'ts-kraken'; PublicWs.connected$.subscribe(() => { console.log('Public WebsocketV2 connected successfully!\n'); });
You can call
.subscribe()
on this RxJS Observable.