resume(with:)
Resume the task awaiting the continuation by having it either return or throw an error based on the state of the given Result value
Declaration
consuming func resume(with result: consuming sending Result<Success, Failure>)Parameters
- result:
A value to either return or throw from the continuation