-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnotes.txt
27 lines (19 loc) · 1.14 KB
/
notes.txt
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
./node_modules/.bin/mocha --reporter spec
"test": "cp -r lib/* dist && babel es6 --source-maps inline --out-dir dist && ./node_modules/nodeunit/bin/nodeunit test/unit",
"scripts": {
"test-perf": "cp -r lib/* dist && babel es6 --source-maps inline --out-dir dist && ./node_modules/.bin/mocha test/perf --reporter spec",
"test": "cp -r lib/* dist/lib && babel es6 --source-maps inline --out-dir dist && ./node_modules/.bin/mocha test/unit --reporter spec",
"watch-perf": "nodemon --ignore 'dist/**/*' -e js --exec 'npm run test-perf'",
"dev": "nodemon --ignore 'dist/**/*' -e js --exec 'npm test'"
},
var toReturn =
this._systemMessages.length > 0 ? this._systemMessages.dequeue() :
this._childrenMessages.length > 0 ? this._childrenMessages.dequeue() :
this._userMessages.length > 0 ? this._userMessages.dequeue() :
undefined;
//defined by user-programmer
userMessages -> normal program messages
//defined by system/class definition
systemMessages -> shut-down, restart, etc...
//defined by supervision strategy
childrenMessages -> delegated children errors, child messages like shutdown, restart, etc...