Home > @world-wide-lab/integration-jspsych > jsPsychWorldWideLab > setupCompleted
jsPsychWorldWideLab.setupCompleted() method
Wait for setup to be completed. Note that this function does *not* call the setup function, it just waits for it.
Signature:
typescript
static setupCompleted(): Promise<void>;
Returns:
Promise<void>
A promise that resolves when the client is ready.
Remarks
This function is useful if you want to ensure that the client is ready before proceeding.