frontend / worker/WorkerEvent / WorkerEvent
Enumeration: WorkerEvent
Defined in: worker/WorkerEvent.ts:13
Events sent from worker back to main thread.
Events fall into two groups: replies to specific commands (they carry the same id as the request) and unsolicited events (they have no id or the id is not used). The client routes replies to pending promises and unsolicited events to callbacks.
OnDebugFileCreated is special: it is sent as a plain string, not as an object, because it comes from Python code via js.postMessage and bypasses the normal worker message wrapping.
Enumeration Members
DebugCodeCancelled
DebugCodeCancelled:
"debugCodeCancelled"
Defined in: worker/WorkerEvent.ts:22
DebugCodeDone
DebugCodeDone:
"debugCodeDone"
Defined in: worker/WorkerEvent.ts:21
Error
Error:
"error"
Defined in: worker/WorkerEvent.ts:17
InitComplete
InitComplete:
"initComplete"
Defined in: worker/WorkerEvent.ts:14
ListOutputFilesResult
ListOutputFilesResult:
"listOutputFilesResult"
Defined in: worker/WorkerEvent.ts:31
Log
Log:
"log"
Defined in: worker/WorkerEvent.ts:15
OnDebugFileCreated
OnDebugFileCreated:
"WorkerEvent.OnDebugFileCreated"
Defined in: worker/WorkerEvent.ts:24
OnDebugFileRead
OnDebugFileRead:
"onDebugFileRead"
Defined in: worker/WorkerEvent.ts:25
OnInputFileLoaded
OnInputFileLoaded:
"onInputFileLoaded"
Defined in: worker/WorkerEvent.ts:27
OnInputFileRemoved
OnInputFileRemoved:
"onInputFileRemoved"
Defined in: worker/WorkerEvent.ts:28
OutputFilesZipReady
OutputFilesZipReady:
"outputFilesZipReady"
Defined in: worker/WorkerEvent.ts:30
ReadOutputFileResult
ReadOutputFileResult:
"readOutputFileResult"
Defined in: worker/WorkerEvent.ts:32
RunCodeCancelled
RunCodeCancelled:
"runCodeCancelled"
Defined in: worker/WorkerEvent.ts:19
RunCodeDone
RunCodeDone:
"runCodeDone"
Defined in: worker/WorkerEvent.ts:18
Stdout
Stdout:
"stdout"
Defined in: worker/WorkerEvent.ts:16