• Jared Kells


    Under the section “Making use of it all” you show generators yielding promises and a run method to iterate over them, the run method is expecting a generator that yields thunks not promises, so it doesn’t work.

    The code you’ve posted on GitLab is correct though, the sample there using the run function uses thunks and the sample with promises uses the spawn function.

    Nice article otherwise thanks!