This commit is contained in:
Mo Bitar
2020-02-09 00:34:14 -06:00
parent b5ec64f102
commit 046f6ca5b9
19 changed files with 919 additions and 635 deletions

View File

@@ -7,10 +7,11 @@ export class WebDeviceInterface extends DeviceInterface {
constructor({
namespace,
timeout
} = {}) {
super({
namespace,
timeout: setTimeout.bind(getGlobalScope()),
timeout: timeout || setTimeout.bind(getGlobalScope()),
interval: setInterval.bind(getGlobalScope())
});
this.createDatabase();