Add active evals (#25)

* Add active evals

* Convert type of stats to date or string

* Fix generic overloads for run

* Lower evaluate timeout

* Add comment for createWriteStream
This commit is contained in:
Kyle Carberry
2019-01-29 18:48:02 -06:00
parent 3a88ae5fb2
commit 20f5d8eeed
13 changed files with 640 additions and 40 deletions

View File

@@ -360,3 +360,11 @@ export class ServerListener extends events.EventEmitter implements Server {
}
}
export interface ActiveEval {
emit(event: string, ...args: any[]): void;
on(event: "close", cb: () => void): void;
on(event: "error", cb: (err: Error) => void): void;
on(event: string, cb: (...args: any[]) => void): void;
}