dataStatus
The footer line for the URL data a scene's environments draw, or null when they draw none.
@internote/canvas-sdkOn 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
nodesThe scene's environment nodes.
datasetsThe document's resolved datasets.
authoringWhether the author is editing, who is told in words what the scene waits for.
nowThe moment to read the fetch against.
Declared in packages/canvas-sdk/src/data/fetched.ts:87.