Event
Overview
System event, can be used to wake up things that are (blocking) waiting for something to happen.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2
Instance Methods
constructor
Parameters:
- aState:
- aMode:
Dispose .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
Dispose this instance
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Dispose Dispose() virtual Toffee
func Dispose(Dispose )
Parameters:
- :
Reset .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
Clears the event, wait for will block.
method Reset
void Reset()
func Reset()
void Reset()
Sub Reset()
Reset Reset() virtual Toffee
func Reset(Reset )
Parameters:
- :
Set .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
Sets the event; depending on the mode this sets it just once, or automatically resets it after the first thread waits for it.
method Set
void Set()
func Set()
void Set()
Sub Set()
Set Set() virtual Toffee
func Set(Set )
Parameters:
- :
WaitFor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
Wait for the event to be set.
method WaitFor
void WaitFor()
func WaitFor()
void WaitFor()
Sub WaitFor()
Wait for with a given timeout. Returns true on success.
Parameters:
- aTimeout:
Wait for with a given timeout. Returns true on success.
Parameters:
- aTimeoutInMilliseconds:
WaitFor WaitFor() virtual Toffee
func WaitFor(WaitFor )
Parameters:
- :