Reactive Extensions for Lua

bjorn c47399e230 Test Observable.min; il y a 10 ans
doc 8524d2c6e9 Add Observable.skipWhile; Add Observable.takeWhile; il y a 10 ans
examples ec090ab76a Remove sum example; il y a 10 ans
tests c47399e230 Test Observable.min; il y a 10 ans
tools 5ff922f680 Update docroc; Update documentation; il y a 10 ans
.travis.yml 122b683bec Travis; il y a 10 ans
LICENSE d64834faa6 Initial commit; il y a 10 ans
README.md 4704e1feb0 Update README example; il y a 10 ans
rx.lua ccf0df002f Test Observable.last; il y a 10 ans

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.