|
пре 9 година | |
---|---|---|
doc | пре 9 година | |
examples | пре 9 година | |
src | пре 9 година | |
tests | пре 9 година | |
tools | пре 9 година | |
.travis.yml | пре 9 година | |
LICENSE | пре 10 година | |
README.md | пре 9 година | |
rx.lua | пре 9 година |
Reactive Extensions for Lua.
Cheer someone on using functional reactive programming:
local Rx = require 'rx'
Rx.Observable.fromRange(1, 4)
:map(function(x) return x * 2 end)
:concat(Rx.Observable.fromValue('who do we appreciate'))
:map(function(value) return value .. '!' end)
:subscribe(print)
See examples for more.
See here.
See here.
Uses lust. Run with:
lua tests/runner.lua
or, to run a specific test:
lua tests/runner.lua skipUntil
MIT, see LICENSE
for details.