Type/to search
Built-in Functions
Global
Version
IsVirtual
GetOS
GetPid
GetMeta
Sleep
Unix
UnixNano
_D
GetCommand
GetLastError
SetErrorFilter
_N
_C
_Cross
JSON.parse
JSON.stringify
Encode
MD5
UUID
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
Web3
Uniswap
TA
Talib
OverlapStudies
MomentumIndicators
VolumeIndicators
VolatilityIndicators
CycleIndicators
PriceTransform
StatisticFunctions
MathTransform
MathOperators
PatternRecognition
OS
Structures
Built-in Variables

The wait() function is used to put a thread into a waiting state under specific conditions.

wait()

Examples

For examples, please refer to the content in the ThreadCondition.notify() section.

See Also

Remarks

The wait() function releases the thread lock and will reacquire the thread lock when the thread is awakened.