(res)
| 70 | } |
| 71 | return new Promise((resolve) => { |
| 72 | const callback = (res) => { |
| 73 | if (this.uid === res.uid && res.timestamp === data.timestamp) { |
| 74 | this.socket.off('dispatch', callback); |
| 75 | resolve(); |
| 76 | } |
| 77 | }; |
| 78 | this.socket.on('dispatch', callback); |
| 79 | }); |
| 80 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected