Skip to content

Function: render() ​

render(source, log, options): Promise<RenderResult>

Defined in: packages/core/src/render.ts:41

Renders log against source and encodes the result.

Pure with respect to its inputs: same bytes, same log, same options, same plugins and the same core version produce the same output bytes on every runtime. Core stages run inside the wasm; JS kernels run between them through the same orchestrator on every runtime.

Parameters ​

source ​

RenderSource

log ​

EditLog

options ​

RenderOptions

Returns ​

Promise<RenderResult>