(playerNumber: number)
| 2437 | }; |
| 2438 | |
| 2439 | const clearPlayerTempData = (playerNumber: number) => { |
| 2440 | // Remove the player from the list of players. |
| 2441 | // This will cause the next hearbeat to not include this player |
| 2442 | // and the others will consider them as disconnected. |
| 2443 | delete _playersLastRoundTripTimes[playerNumber]; |
| 2444 | delete _playersInfo[playerNumber]; |
| 2445 | }; |
| 2446 | |
| 2447 | return { |
| 2448 | sendDataTo, |
no outgoing calls
no test coverage detected