chore(): rm unused reject
This commit is contained in:
@@ -50,7 +50,7 @@ function setWsClientEventListeners(
|
|||||||
websocketClient: WebsocketClient,
|
websocketClient: WebsocketClient,
|
||||||
accountRef: string,
|
accountRef: string,
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve) => {
|
||||||
websocketClient.on('update', (data) => {
|
websocketClient.on('update', (data) => {
|
||||||
console.log(new Date(), accountRef, 'data ', JSON.stringify(data));
|
console.log(new Date(), accountRef, 'data ', JSON.stringify(data));
|
||||||
// console.log('raw message received ', JSON.stringify(data, null, 2));
|
// console.log('raw message received ', JSON.stringify(data, null, 2));
|
||||||
|
|||||||
Reference in New Issue
Block a user