TimeoutResult
public enum TimeoutResult<Success, Failure> where Failure : Error
The result of an operation that could timeout.
success(_:)
A successful outcome with an associated value of type Success
.
case success(Success)
failure(_:)
A failure outcome with an associated error of type Failure
.
case failure(Failure)
timeout
Represents an operation that did not complete within the allotted time.
case timeout