Posted 23 July 2013 - 12:23 PM
Title: A Question about os.pullEvent()/os.pullEventRaw() and Coroutines
So after learning that os.pullEvent() and os.pullEventRaw() both call coroutine.yield(), I scoured the internet trying to find out exactly what these functions yield to. I still haven't found an answer. So my question is what do these functions yield to and would it be possible to create my own events (or take advantage of existing events) without calling os.queueEvent()?
So after learning that os.pullEvent() and os.pullEventRaw() both call coroutine.yield(), I scoured the internet trying to find out exactly what these functions yield to. I still haven't found an answer. So my question is what do these functions yield to and would it be possible to create my own events (or take advantage of existing events) without calling os.queueEvent()?