ComponentClass:WaitFor(instance: Instance, timeout?: number): Promise

Server & Client

Returns an asynchronous promise handler tracking target assembly ready-states before triggering sequential downstream operations.

Parameters

instance*
Instance
The physical platform instance engine key context node targeted for validation.
timeout
number
Asynchronous runtime cancellation execution time limit fence boundary tracking threshold counter.

Returns

PromiseResolves with the active structural engine model class reference context upon validation.
ExplodingBarrel:WaitFor(targetObject, 5):andThen(function(barrel)
    barrel:IgniteFuse()
end):catch(warn)