Files: d9ae973728a3a94e651aa65697ce88b319c67c44 / 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