Changelog
2.0.0
Domain
actions return promises of these being executed.Observable
is a first class citizen of the library, not an implementation detail and mimics TC39 Observable proposal as closely as possible and in most usable way.Observable::subscribe
callback will not be immediately called with last shared value.Data
is achievable through normal Observable
creation and pushing values. All Observable
s are observers (actually all observer's proxy) and can push messages even if are derivative to some other stream..View
functionality will be achievable using Observable::map
function only.Scan
functionality will be achievable using Observable::scan
function only.Merge
is renamed to Combine
.Observable::buffer*
functions are introduced. Observable
s stream pressure unloading by replacing awaiting values will no longer be.Domain
with actions can now be created through factory Domain.create
.Domain
class can be achieved through @action
decorator (experimental feature).Changelog
1.7.3
Changelog
1.7.2
Changelog
1.7.1
Merge
. Merging multiple source can and should be done with Merge
and this functionality in View
is now deprecated.Reduce
. Provide it with observable source and function that takes current state and source stream state.Immutable.js
and doesn't have Immutable.js
oriented optimizations.View
processor and all subscriptions are now frozen. Functionality requires Proxy
, but library doesn't rely on that as in many environments it is not present. It is cheaper than cloning, yet secures immutability of data provided to processing functions too.Observable
class got shouldObservableUpdate
method responsible for decision if candidate value should replace old one and thus trigger subscriptions. Method can be overriden in subclass.Observable
can pass a Promise
and it will result in asynchronous subscriptions triggering with Promise
result. Promise
rejection is not being handled. This, ofcourse, will work with async
/await
or Promise
-returning processing functions in View
.Changelog
1.6.2
Changelog
1.6.1
Data
ignores write instructions raised after the node being destroyedScan
and *.scan
addedData
no longer magically transforms initial data provided in constructor to Immutable.js data structureView
is merging different streams using plain objects instead of Immutable.js mapChangelog
1.5.2