Waits for an event of type T that causes checkEventFunc
to return true. Returns null if timeout is reached first.
Namespace: BaseLibAssembly: BaseLib (in BaseLib.dll) Version: 0.5.0.0
Syntax
Parameters
- checkEventFunc
- Type: System..::..Func<(Of <(<'T, Boolean>)>)>
Event filter function. Should return true if the event is what you are looking for, otherwise false.
- timeout
- Type: System..::..Double
The timeout value, in seconds.
Type Parameters
- T
- The type of event to look for.