* starting flow integration

* found a bug in EventHelper
* reduce wait() calls
This commit is contained in:
Kevin Jahns
2015-11-26 00:46:02 +01:00
parent 940a44bb7c
commit bd9c3813fd
12 changed files with 200 additions and 75 deletions

View File

@@ -190,7 +190,7 @@ module.exports = function (Y) {
this.broadcastedHB = true
var db = this.y.db
var defer = Promise.defer()
this.syncStep2 = defer.promise
this.syncStep2 = defer.promise
db.requestTransaction(function * () {
yield* this.applyDeleteSet(m.deleteSet)
this.store.apply(m.os)