dataStatus

The footer line for the URL data a scene's environments draw, or null when they draw none.

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

It belongs to the scene, never to a mark: a scene waiting on a response shows a turning ring once, worded "Fetching data…" only for its author, and a scene whose data has arrived says when it was fetched, in the words an internote's header uses for when it was updated. Several URL datasets read as the earliest fetch, since that is how old the oldest number on screen may be.

#Signature

(
    nodes: readonly CompiledNode[],
    datasets: Record<string, ChalkDataset>,
    authoring?: boolean,
    now?: Date,
): DataStatus | null

#Parameters

nodes
The scene's environment nodes.
datasets
The document's resolved datasets.
authoring
Whether the author is editing, who is told in words what the scene waits for.
now
The moment to read the fetch against.

Declared in packages/canvas-sdk/src/data/fetched.ts:87.

Last updated