Skip to content

Glossary: Swift Beyond the Basics

Result

Also written: .success, .failure

A standard enum with two cases, `.success(value)` and `.failure(error)`. It lets a task group report every order, whether it succeeded or failed.

Where the book teaches it

Related terms

task grouptyped throws