DriftTexture · interface

Streamer

Explained in DriftTexture.

interface Streamer
import type { Streamer } from '@driftengine/texture';

Properties

NameTypeDescription
sourcereadonlyTileSource
tablereadonlyResidencyTable
cachereadonlyPageCache
maxInFlightreadonlynumber
inFlightreadonlySet<string>Tiles asked for and not yet answered.
missingreadonlySet<string>Tiles the source answered null for. Not asked for again until forgotten.
stalenumberFetches that landed after their tile had been evicted. Counted, not silently dropped.
deferrednumberFetches that landed with no page free to put them in. The tile stays absent and is retried.
oversizenumberFetches whose bytes were larger than a page. A container and a cache disagreeing.