added support for conference verb

This commit is contained in:
Dave Horton
2020-04-27 11:25:39 -04:00
parent d31c53d383
commit 8ee590172b
27 changed files with 888 additions and 133 deletions

View File

@@ -11,13 +11,13 @@ class TaskPause extends Task {
get name() { return TaskName.Pause; }
async exec(cs, ep) {
super.exec(cs);
await super.exec(cs);
this.timer = setTimeout(this.notifyTaskDone.bind(this), this.length * 1000);
await this.awaitTaskDone();
}
async kill() {
super.kill();
async kill(cs) {
super.kill(cs);
clearTimeout(this.timer);
this.notifyTaskDone();
}