issues
search
umegaya
/
pulpo
multi-thread network server library build with coroutine and luajit FFI at ground level
7
stars
2
forks
source link
Umegaya/feature/emitter
#2
Closed
umegaya
closed
10 years ago
umegaya
commented
10 years ago
implement emitter
not callback but resume coroutines which is wait for emit
2 event handle primitive
select : wait until one of events are emit
wait : wait until all of events are emit
implement tentacle
it fiber but emit 'end' when its finish
combine tentacle and select, wait, you can describe complex event waiting code easily