Function: sys.sleep_until

Suspends execution until the given time.

The latest allowed time is one year from now.

Arguments

Arguments
time Timestamp in ISO 8601 format until which execution is suspended, up to a microsecond precision.

Raised exceptions

Exceptions
TypeError If time is not a string.
ValueError If time is not ISO 8601-compatible.