Method WaitForCompletion
WaitForCompletion(int)
Wait for object load in main thread. This will force synchronous loading and may cause performance issues.
Declaration
public bool WaitForCompletion(int timeoutMs = 0)
Parameters
| Type | Name | Description | 
|---|---|---|
| int | timeoutMs | The number of milliseconds to wait. If set to 0, the load will either complet or fail before returning.  | 
    
Returns
| Type | Description | 
|---|---|
| bool | True if the load completes within the timeout.  |