git ssb

0+

wanderer🌟 / js-primea-hypervisor



Commit d0480ef3e0dd3c49070017e1bd5379dadd2aa4ee

update docs

wanderer committed on 11/22/2017, 2:40:38 AM
Parent: 47cdaf541c5fb70cd51572ef2e40fda377cfe086

Files changed

actor.jschanged
scheduler.jschanged
actor.jsView
@@ -42,9 +42,9 @@
4242 }
4343 }
4444
4545 /**
46- * adds a message to this containers message queue
46 + * adds a message to this actor's message queue
4747 * @param {string} portName
4848 * @param {object} message
4949 */
5050 queue (message) {
@@ -131,9 +131,9 @@
131131 }
132132 }
133133
134134 /**
135- * updates the number of ticks that the container has run
135 + * updates the number of ticks that the actor has run
136136 * @param {Number} count - the number of ticks to add
137137 */
138138 incrementTicks (count) {
139139 this.ticks += count
scheduler.jsView
@@ -7,10 +7,10 @@
77 }
88
99 module.exports = class Scheduler {
1010 /**
11- * The Scheduler manages the run cycle of Actors and figures out which
12- * order they should run in
11 + * The Scheduler manages the actor instances and tracks how many "ticks" they
12 + * have ran.
1313 */
1414 constructor () {
1515 this._waits = []
1616 this._running = new Set()

Built with git-ssb-web