Reactive Extensions for Lua

bjorn 17137db93a Add better support for multiple return values; há 10 anos atrás
doc 17137db93a Add better support for multiple return values; há 10 anos atrás
examples bab9d281bd Add Observable.concat; Update README; Add concat example; há 10 anos atrás
tools f30ec0a74c Add Observable.max; Add Observable.min; há 10 anos atrás
LICENSE d64834faa6 Initial commit; há 10 anos atrás
README.md bab9d281bd Add Observable.concat; Update README; Add concat example; há 10 anos atrás
rx.lua 17137db93a Add better support for multiple return values; há 10 anos atrás

README.md

RxLua

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.

License

MIT, see LICENSE for details.