Files: 9bb00a66c6590ce780568e10d649be74c66ce1e6 / 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