# Functions

WaitUntil is a helper method that waits until the operation func() returns nil successfully (or) times out after maxElapsedTime.