Reactive Extensions for Lua

bjorn f0d49b032e Improve table of contents; преди 10 години
doc f0d49b032e Improve table of contents; преди 10 години
examples bab9d281bd Add Observable.concat; Update README; Add concat example; преди 10 години
tests 4ca5949826 Improve test output; преди 10 години
tools f0d49b032e Improve table of contents; преди 10 години
.travis.yml 122b683bec Travis; преди 10 години
LICENSE d64834faa6 Initial commit; преди 10 години
README.md e9b35b7114 Travis button; преди 10 години
rx.lua 698403d37d Add Observable:wrap; преди 10 години

README.md

RxLua

Build Status

Reactive Extensions for Lua.

Examples

Cheer someone on using functional reactive programming:

local Rx = require 'rx'

Rx.Observable.fromRange(2, 8, 2)
  :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.