Files: c64b17a89975071bd569256e538ead9905e016c9 / messageQueue.js
184 bytesRaw
1 | module.exports = class MessageQueue { |
2 | constructor (kernel) { |
3 | this._queue = [] |
4 | } |
5 | |
6 | add (message) { |
7 | this.currentMessage = message |
8 | return this.kernel.run(message) |
9 | } |
10 | |
11 | } |
12 |
Built with git-ssb-web