Overload List

  NameDescription
Public methodWaitFor<(Of <<'(T>)>>)()()()()
Waits indefinitely for an event of type T.
Public methodWaitFor<(Of <<'(T>)>>)(Double)
Waits for an event of type T. If timeout is reached first, returns null.
Public methodWaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>))
Waits indefinitely for an event of type T. When an event arrives, checkEventFunc is called, passing the event. If checkEventFunc returns true then the event is returned, otherwise it continues to wait.
Public methodWaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>), Double)
Waits for an event of type T that causes checkEventFunc to return true. Returns null if timeout is reached first.

See Also