Wait Flag

Signatures

bool waitFlag(string name)
bool waitFlag(string name, u64 duration)

Description

Waits until a flag is created by any script.

Returns true if the flag was created or false once the wait time is exceeded.

Arguments

Name

The name of the flag to await.

Duration

The time to wait in milliseconds.

Is optional and set to 5000 by default.

Last updated