git ssb

0+

wanderer🌟 / js-primea-hypervisor



Tree: 8ced6c46cc8f744d128a65d00c117a79e68918b8

Files: 8ced6c46cc8f744d128a65d00c117a79e68918b8 / messageQueue.js

184 bytesRaw
1module.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