Clean up comments, fix some code review issues, and make the exit code optional throughout to make it clear that it isn't always a number

This commit is contained in:
Gabriel DeBacker
2019-02-17 09:18:41 -08:00
parent 27ff8463c0
commit a7565721ba
11 changed files with 34 additions and 33 deletions

View File

@@ -554,7 +554,7 @@ export interface MainThreadTaskShape extends IDisposable {
$executeTask(task: TaskHandleDTO | TaskDTO): Promise<TaskExecutionDTO>;
$terminateTask(id: string): Promise<void>;
$registerTaskSystem(scheme: string, info: TaskSystemInfoDTO): void;
$customTaskExecutionComplete(id: string, result: number | undefined): Promise<void>;
$customTaskExecutionComplete(id: string, result?: number): Promise<void>;
}
export interface MainThreadExtensionServiceShape extends IDisposable {