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