Reactive Extensions for Lua

bjorn b150147cd6 Test Observable.reduce; hace 9 años
doc 28429ab7f8 Improve documentation; hace 10 años
examples ec090ab76a Remove sum example; hace 10 años
tests b150147cd6 Test Observable.reduce; hace 9 años
tools 28429ab7f8 Improve documentation; hace 10 años
.travis.yml 122b683bec Travis; hace 10 años
LICENSE d64834faa6 Initial commit; hace 10 años
README.md 4704e1feb0 Update README example; hace 10 años
rx.lua 4c7eb354cc Fix Observable.reduce; hace 9 años

README.md

RxLua Build Status

Reactive Extensions for Lua.

Examples

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.

Documentation

See here.

Related

License

MIT, see LICENSE for details.