@modoki/engine / index / loadTimelineNow
Function: loadTimelineNow()
loadTimelineNow(
refOrPath):Promise<TimelineDef|null>
Fetch + cache a timeline by GUID or resolved PATH and RETURN its parsed def (or null on failure). Used by SceneManager's transitive-ref walk, which needs the def synchronously- awaitably to pull out its audio-cue GUIDs (getTimeline's return is null-until-loaded). Resolves a GUID through the manifest (like getTimeline) so every caller is covered. Idempotent — a cache hit resolves immediately.
Parameters
refOrPath
string
Returns
Promise<TimelineDef | null>