Commit Graph

6 Commits (master)

Author SHA1 Message Date
David Kebler 333d565894 0.1.7
modify toBoolean to accept a packet with ready/online/active properties
make available via instance
refector to keep the 'all' combination separate from combineObserver
add 'all' getter
add combinations getter
add private method _combineAll
2020-01-18 22:06:02 -08:00
David Kebler 2497321c66 0.1.6 add isEmitter function
add makeObserver and have addObserver call it, allows making without storing to all combination
add save argument for subscribe which will save to list for easy subscribe.
2020-01-16 22:16:51 -08:00
David Kebler 63566d624f 0.1.5
add boolean option to allow pass through of toBoolean module options
refactor main map to hold observer, details and corresponding 'hidden' subscription together
unsubscribes from that subscription when removing observer
new getter/setter for observer details, can also pass as option when adding observer
2020-01-14 13:26:56 -08:00
David Kebler 30f9f273e7 0.1.4
using '__all__' for main combination
can save combinations to map
.state hold state at last main combination change
can add observer details that can be passed on later by subscription
shareReply added to observers
added 'changed' operator that emits only on changed state or first emission
modified the map operator to accept async function via switchMap
added methods
 observerNames to get list
 failure gets name of first observer to fail in the state prop
 getValue
 addObserverDetails  (can add/ammend at any time)
2020-01-07 15:02:50 -08:00
David Kebler be1cf69996 0.1.2 Only emits on change of state
Added logging
uses external to boolean package
2020-01-02 14:57:11 -08:00
David Kebler 3eef450669 0.1.1 2020-01-01 18:36:48 -08:00