Reactive Extensions for Lua

bjorn 6471230716 Observable.pluck supports nested keys; vor 10 Jahren
doc 28429ab7f8 Improve documentation; vor 10 Jahren
examples ec090ab76a Remove sum example; vor 10 Jahren
tests 514f1e484d Test Observable.pack; Don't use table.pack; vor 10 Jahren
tools 28429ab7f8 Improve documentation; vor 10 Jahren
.travis.yml 122b683bec Travis; vor 10 Jahren
LICENSE d64834faa6 Initial commit; vor 10 Jahren
README.md 4704e1feb0 Update README example; vor 10 Jahren
rx.lua 6471230716 Observable.pluck supports nested keys; vor 10 Jahren

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.