]> hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/commit
fifo{,sock}: lazy and "phantom" function entries
authorNathaniel Wesley Filardo <nwfilardo@gmail.com>
Wed, 6 Feb 2019 00:34:35 +0000 (00:34 +0000)
committerNathaniel Wesley Filardo <nwfilardo@gmail.com>
Fri, 22 Feb 2019 23:55:08 +0000 (23:55 +0000)
commit74d258ecb0744f9a4809270580c67dc4df903c4e
treef14c3e28e4920161d820ce1ad0ba4612b175b22e
parent3cfe91d859e7e205226ea9ecf0bb353e1f48c416
fifo{,sock}: lazy and "phantom" function entries

fifo already supported functions acting as lazy generators of events, so
now teach it about phantom entries (which just cause additional
dequeueing).

Push support down into fifosock and add tests.
fifo/fifo.lua
net/fifosock.lua
test/fifosocktest.lua