Monday, 30 March, 2020 UTC


One way to keep your UI responsive is to break a computation up into small chunks. The problem is that you have to record the state of the computation so you can restart it. Yield can be used to do this automatically. This is an extract from Chapter 4 of my book on JavaScript Async.