class Google::Cloud::Env::LazyDict
def await key, *extra_args, transient_errors: nil, max_tries: 1, max_time: nil
-
(Exception)
- if a fatal error happened, or retries have been
Returns:
-
(Object)
- the value
Parameters:
-
max_time
(Numeric, nil
) -- The maximum time in seconds this will -
max_tries
(Integer, nil
) -- The maximum number of times this will -
transient_errors
(Array
) -- An array of exception classes -
extra_args
(Array
) -- extra arguments to pass to the block -
key
(Object
) -- the key
def await key, *extra_args, transient_errors: nil, max_tries: 1, max_time: nil lookup_key(key).await key, *extra_args, transient_errors: transient_errors, max_tries: max_tries, max_time: max_time end