Commit 25eb4441882c6d401ef140311f14d62d3ff4f9e1
don't wait for the message loop
Signed-off-by: wanderer <mjbecze@gmail.com>wanderer committed on 8/10/2017, 3:58:12 PM
Parent: 9e075d6fa8d8d5137146130915af95c57bc1b231
Files changed
kernel.js | changed |
kernel.js | |||
---|---|---|---|
@@ -36,14 +36,14 @@ | |||
36 | 36 … | * @param {object} message | |
37 | 37 … | */ | |
38 | 38 … | queue (portName, message) { | |
39 | 39 … | this.ports.queue(portName, message) | |
40 | - return this._startMessageLoop() | ||
40 … | + this._startMessageLoop() | ||
41 | 41 … | } | |
42 | 42 … | ||
43 | 43 … | async create (message) { | |
44 | 44 … | await this.message(message, 'onCreation') | |
45 | - return this._startMessageLoop() | ||
45 … | + this._startMessageLoop() | ||
46 | 46 … | } | |
47 | 47 … | ||
48 | 48 … | // waits for the next message | |
49 | 49 … | async _startMessageLoop () { |
Built with git-ssb-web