This adds sync feature to page.js.
Install
$ npm install page-sync
Usage
setup
var page = ;// You can choose your favorit Promise implementation.var Promise = ; var pageSync = ;
example
you have to execute next()
when every action completes.
var { console; ;} var { console; ;} var { console; ;} ;; // page moves;; // output// /a: start// /a: delay// /a: end// /b: start// /b: delay// /b: end