Typed task contracts, worker transport ports and a job pool.
Classes
HeightfieldArchiveOne store, and everything its users share.HeightfieldsHeightfields through a preferred adapter and a fallback.HeightfieldUnavailableThis source cannot complete this request; another adapter may.SurfacePreparationTaskRegistryWorkerPool
Interfaces
ArchivedSourceA source the heightfield archive can keep tiles for: one that names its arithmetic.FindWorldsRequestFindWorldsResponseGenerateCellRequestGenerateCellResponseGeneratedStarA SystemStub in a form that survives structured clone.HeightfieldCacheRecordHeightfieldCacheStatsHeightfieldRequestPayloadA heightfield request on the wire: generateHeightfield's own request, unchanged, beside the surface it is of.HeightfieldResponseHeightfieldSourceSomething that turns a heightfield request into a heightfield.HeightfieldStoreHost storage for regenerable tiles, separate from the save store.HeightfieldStoreStatsHostPortThe other side: what a worker entry point implements.JobHandlePoolOptionsPoolStatsPreparedA surface this thread can read without building anything.PreparedSurfaceWhat a thread needs before it can read a body's ground without stalling.PrepareSurfaceRequestThe surface on the wire, and the patch resolution the floor is measured at.ServeOptionsSurveyedBodySurveyRegionRequestSurveySkyRequestSurveySkyResponseSurveySystemRequestSurveySystemResponseTaskContextTaskDefinitionWireSurfaceA SurfaceParameters in a form that survives structured clone.WorkerPort
Types
Functions
createInlineWorkercreateTaskRegistrydecodeStubdecodeSurfacedefineTaskencodeStubencodeSurfaceheightfieldArchiveVersionheightfieldCacheKeyheightfieldCacheRecordpoolHeightfieldSourcerunInlineserveTasksvalidateHeightfieldCacheRecord