API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceMapLevelLoadContext

@codexo/exojs-tilemap / tilemap / stable

What a MapLevelProvider is given for one level load.

3
props
0
methods
0
events
Import
import { MapLevelLoadContext } from '@codexo/exojs-tilemap'

What a MapLevelProvider is given for one level load.

Properties3
The level's own LoaderScope. Assets claimed through it are released when the level unloads, and claiming an asset another level also holds never takes it away from that level. Its lifetime ends when signal aborts: an unload releases the scope without waiting for a provider still in flight, so a provider that resumes after that point must not claim through it any more. Check signal.aborted after every await before touching the scope again.
signal: AbortSignal
Aborts when the level is unloaded or the load is cancelled.
Source