I'm wondering if we should just clear out all of the event emitter junk and all the bindings at first and just run everything synchronously in a predictable environment and when we're done with that, we can then add threads around things that need them and maintain a nice asynchronous flow.
It would be nice if there was a cfc that would manage threads for you...?
Maybe it would be something like the emitter.cfc but would be threaded and maintain scope and remember all of it's threads it's created without fearing which threads are running and which have what variables...?
I'm wondering if we should just clear out all of the event emitter junk and all the bindings at first and just run everything synchronously in a predictable environment and when we're done with that, we can then add threads around things that need them and maintain a nice asynchronous flow.
It would be nice if there was a cfc that would manage threads for you...?
Maybe it would be something like the emitter.cfc but would be threaded and maintain scope and remember all of it's threads it's created without fearing which threads are running and which have what variables...?
Just dreaming here...