The .drft container · const

DEFAULT_STREAM_SLICE_MS

How long a stream may work before it gives way for a task, in milliseconds. The loader's own frame budget is six, and this is the same share of a 60 Hz frame for the same reason.

Explained in The .drft container.

const DEFAULT_STREAM_SLICE_MS = 6
import { DEFAULT_STREAM_SLICE_MS } from '@driftengine/drft';