3 ms·
I mean you could refer to the function by its name, and then run it with () when ready.
by firefoxman1 14y ago
I mean you could refer to the function by its name, and then run it with () when ready.
- kilovoltaire 14y agoOh, so you really did mean `var tester = test;` The reason that might be less good than the current approaches is that you may want to spawn multiple 'instances' of the generator/coroutine. If I'm understanding your proposal correctly, you'd only ever be able to run it once.
- firefoxman1 14y agoOh, that's a good point. Didn't consider that.