johnae / spook

Lightweight programmable evented utility based on LuaJIT and ljsyscall
Other
35 stars 0 forks source link

Use coroutines throughout spook event handlers to allow for more serial code (when desirable) #33

Closed johnae closed 7 years ago

johnae commented 7 years ago

This should not change existing use at all. It would, however, allow for more serial code when desirable. Probably not so much when spook is used as a change/test/feedback helper. In moonbar it would be quite useful however. Moonbar does it's own coroutine thing atm but it seems as if that functionality might be better to put directly into spook.

johnae commented 7 years ago

See https://github.com/johnae/spook/pull/35.

johnae commented 7 years ago

Released in https://github.com/johnae/spook/tree/0.8.0