Type/to search
Built-in Functions
Global
Log
Market
Trade
Account
Futures
Exchange
IO
Network
Storage
Threads
exchange.Go
EventLoop
ctx.subscribe
ctx.poll
ctx.order
ctx.cancel
ctx.submit
Subscription
threading
Thread
ThreadLock
ThreadEvent
ThreadEvent.set
ThreadEvent.clear
ThreadEvent.wait
ThreadEvent.isSet
ThreadCondition
ThreadDict
Server
TA
Talib
OS
Structures
Built-in Variables and Constants
Conventions
Exchanges

Event object for event notification and signal passing between multiple threads.

In this sectionRead the whole section

NameDescription
ThreadEvent.setSets an event signal.
ThreadEvent.clearClears the signal.
ThreadEvent.waitSets event (signal) waiting, which will block until the event (signal) is set; supports setting timeout parameters.
ThreadEvent.isSetDetermines whether an event (signal) has been set.