mirror of
https://github.com/coder/code-server.git
synced 2026-04-20 09:51:06 -05:00
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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user