Our great sponsors
-
Consumer vs. Producer: Check out Redux Saga
-
Consumer vs. Producer - "Redux Saga is said to be about managing side effects..." I'm not sure this description is a million miles from what you're trying to achieve (although I'm struggling a little to comprehend) Redux Saga is essentially a set of APIs around yield that goes quite far in doing what you describe: Making the consumer of a chain of a/synchronous tasks more in control of the flow. Also worth your consideration might be Cancelable Async Flows.
-
SurveyJS
Extensible JavaScript Form Builder Libraries. SurveyJS is a set of four fully customizable JS libraries that allow you to create, easily modify, and run multiple web forms in any web app, while retaining all sensitive data on your own servers.
-
For IDEs perhaps take a look at VSCodium. It's essentially what VSCode is before Microsoft wraps their metrics and phoning-home into it.
-
Their call on .next occurs in run.js. My interpretation of yield can do anything; theirs can fiddle with the schedule or do an effective await. They have many more lines of code than I expect to, but on the other hand, they concern themselves with timing between frames and while the browser is idle, which may benefit application writers who use the code, and some of the lines of code are for handling that.