def METHOD_NAME(block, timeout, waittime):
  if not block:
    return instant()
  else:
    if timeout is not None:
      return timed( timeout = timeout, waittime = waittime )
    else:
      return eternal( waittime = waittime )