Reactive Extensions for Lua

bjorn c1efad2733 Test Observable.find; 10 vuotta sitten
doc 8524d2c6e9 Add Observable.skipWhile; Add Observable.takeWhile; 10 vuotta sitten
examples ec090ab76a Remove sum example; 10 vuotta sitten
tests c1efad2733 Test Observable.find; 10 vuotta sitten
tools 5ff922f680 Update docroc; Update documentation; 10 vuotta sitten
.travis.yml 122b683bec Travis; 10 vuotta sitten
LICENSE d64834faa6 Initial commit; 10 vuotta sitten
README.md 4704e1feb0 Update README example; 10 vuotta sitten
rx.lua 8524d2c6e9 Add Observable.skipWhile; Add Observable.takeWhile; 10 vuotta sitten

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.