mihacooper
mihacooper
If I understand you right, then these functionalities don't actually need to be implemented on effil level. You can implement it using already existing features. callbacks can be implemented like...
@625781186 I got you. It becomes more complicated. If you have only one receive thread (only main thread) then you can use effil.channels. If you want more than one receiver...
It can be implemented like that: ``` chan = require("effil").channel() chan:push(1) chan:push(2) chan:push(3) for k in function() return chan:pop(0) end do print(k) end ``` Do we really need it in...
Hi, it's a race condition and to avoid that you have to make synchronizations. Normal synchronization primitives will be added soon here: https://github.com/effil/effil/pull/123 Right now you can impl it by...
I think it's better to integrate the assert lib: https://github.com/Olivine-Labs/luassert it would solve more problems with asserts in u-test
As far as I remeber lua does not have metamethod for 'not equal' operation. So '~=' becomes 'not __eq' as you expected.
Implemented
closes #171