CodeRunEvent

One frame of a run, in arrival order.

@internote/canvas-sdkType
import { CodeRunEvent } from '@internote/canvas-sdk';

A status frame reports the run's lifecycle, with file naming the entry file once known. stdout and stderr carry the program's output as it arrives. A notice is a host-side remark, such as output being truncated, and not program output. exit closes a run that ran, with its exit code, its duration and whether it timed out. error is an infrastructure failure, where the program never got its say.

Declared in packages/canvas-sdk/src/runner/index.ts:41.

Last updated