Refactored 'workerScripts' array and killWorkerScript() fn to be their own modules in TypeScript

This commit is contained in:
danielyxie
2019-05-15 23:05:36 -07:00
parent b1248521f3
commit 42804b0cd3
16 changed files with 413 additions and 203 deletions
+5
View File
@@ -32,6 +32,11 @@ export class WorkerScript {
*/
delay: number | null = null;
/**
* Holds the Promise resolve() function for when the script is "blocked" by an async op
*/
delayResolve?: () => void;
/**
* Stores names of all functions that have logging disabled
*/