VM emits MIC_LISTENING

This commit is contained in:
Eric Rosenbaum 2018-09-20 17:13:51 -04:00
parent f5edcfa3bb
commit e2a79ed58f

View file

@ -117,6 +117,9 @@ class VirtualMachine extends EventEmitter {
this.runtime.on(Runtime.PERIPHERAL_SCAN_TIMEOUT, () =>
this.emit(Runtime.PERIPHERAL_SCAN_TIMEOUT)
);
this.runtime.on(Runtime.MIC_LISTENING, listening => {
this.emit(Runtime.MIC_LISTENING, listening);
});
this.extensionManager = new ExtensionManager(this.runtime);