Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you’ve learned:

  • How to use the Result type to capture and handle the outcome of operations that can fail.
  • How to access the result property of a Task.
  • How to convert a throwing expression to a Result.
  • How to write a custom completion handler that returns a Result type.
See forum comments
Download course materials from Github
Previous: Use Cases