Core · interface

LoadSummary

Explained in The loop.

interface LoadSummary
import type { LoadSummary } from '@driftengine/core';

Properties

NameTypeDescription
fractionreadonlynumber0 to 1 across everything registered, weighted.
activeIdreadonlystringThe id of the task the caller should be talking about: the heaviest one still unfinished.
More

Heaviest rather than first-registered, because that is the one a viewer is actually waiting for. Empty when nothing is outstanding.

donereadonlyboolean
tasksDonereadonlynumber
tasksTotalreadonlynumber