Once the server responds, call reelSet.setResult(grid) while the spin promise is still pending. The stop sequence consumes it and each reel lands on its target.
See it work
Once the server responds, call reelSet.setResult(grid) while the spin promise is still pending. The stop sequence consumes it and each reel lands on its target.