()
| 521 | }; |
| 522 | |
| 523 | const checkCompletion = () => { |
| 524 | if (executionReceived && balanceReceived && subscriptionReady) { |
| 525 | console.log('Both execution and balance events received!'); |
| 526 | setTimeout(() => finish(), 2000); |
| 527 | } |
| 528 | }; |
| 529 | |
| 530 | binance.websockets.userData( |
| 531 | (data) => { |
no test coverage detected