PR pixi-reels

whenSpineReady()

pixi-reels


pixi-reels / index / whenSpineReady

Function: whenSpineReady()

function whenSpineReady(): Promise<void>;

Defined in: symbols/SpineSymbol.ts:25

Resolves once the optional @esotericsoftware/spine-pixi-v8 import has settled (whether or not it was installed). Await this before constructing SpineSymbols if you build the reel set immediately on app start, so a cold load can’t throw the misleading “not installed” error.

Returns

Promise<void>