setChalkRuntimeLoader

Sets how a page gets the runtime when nothing has installed one — the browser build fetched and instantiated. Run once, by requestChalkRuntime.

@internote/canvas-sdkFunction
On this page
import { setChalkRuntimeLoader } from '@internote/canvas-sdk';

#Signature

(next: () => Promise<ChalkRuntime>): void

#Parameters

next
Resolves to the runtime, or rejects when it cannot be had.

Declared in packages/canvas-sdk/src/content/chalk-runtime.ts:81.

Last updated