|
10 vuotta sitten | |
---|---|---|
doc | 10 vuotta sitten | |
examples | 10 vuotta sitten | |
src | 10 vuotta sitten | |
tests | 10 vuotta sitten | |
tools | 10 vuotta sitten | |
.travis.yml | 10 vuotta sitten | |
LICENSE | 10 vuotta sitten | |
README.md | 10 vuotta sitten | |
rx.lua | 10 vuotta sitten |
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.
Uses lust. Run with:
lua tests/runner.lua
or, to run a specific test:
lua tests/runner.lua skipUntil
MIT, see LICENSE
for details.