-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfr.lua
48 lines (31 loc) · 1006 Bytes
/
fr.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
-- Copyright 2016 Alex Iverson
local tunpack = table.unpack or unpack
local tremove = table.remove
local tinsert = table.insert
local FR = {}
local EventStream = require"fr.eventStream"
require"fr.debounce"
require"fr.debounceImmediate"
FR.fromBinder = EventStream.fromBinder
FR.once = require"fr.once"
FR.Once = FR.once
FR.fromTable = require"fr.fromTable"
FR.FromTable = FR.fromTable
FR.Repeat = require"fr.repeat"
FR.never = require"fr.never"
FR.Never = FR.never
FR.defer = require"fr.defer"
FR.Defer = FR.defer
FR.bus = require"fr.bus"
FR.Bus = FR.bus
local Property = require"fr.property"
EventStream.toProperty = Property.fromEventStream
FR.fromCallback = EventStream.fromCallback
FR.constant = Property.constant
FR.propertyFromBinder = Property.fromBinder
FR.isEventStream = EventStream.isEventStream
FR.isProperty = Property.isProperty
FR.isObservable = require"fr.isObservable"
FR.combineAsArray = Property.combineAsArray
FR.combineTemplate = require"fr.combineTemplate"
return FR