This commit is contained in:
bkfox
2019-09-23 12:38:44 +02:00
parent cbfd1c1449
commit b3ec6f670f
29 changed files with 790 additions and 85 deletions

View File

@ -1,6 +1,7 @@
import Vue from 'vue';
import Model from 'public/model';
import {setEcoInterval} from 'public/utils';
export class Streamer extends Model {
@ -27,7 +28,7 @@ export class Source extends Model {
constructor(data, {streamer=null, ...options}={}) {
super(data, options);
this.streamer = streamer;
setInterval(() => this.tick(), 1000)
setEcoInterval(() => this.tick(), 1000)
}
get isQueue() { return false; }