The original implementation jumped through a lot of hoops to make sure all of the operations were closures, that were bound to the this context so that they could be used independently:
let { next } = atom;
yield next();
However, this was hard to read for very little benefit. If that's the behavior we want, we can always using something like auto-bind https://github.com/sindresorhus/auto-bind
The original implementation jumped through a lot of hoops to make sure all of the operations were closures, that were bound to the
this
context so that they could be used independently:However, this was hard to read for very little benefit. If that's the behavior we want, we can always using something like auto-bind https://github.com/sindresorhus/auto-bind