Slide 10
Slide 10 text
Our Dream API
• Wrap functions that we expect to fail
• Model both success and failure more succinctly
• Map success and error types across data/domain/presentation boundaries
• Chain these operations
• Short-circuit on failure
• Make it absolutely clear to consumer, but allow flexibility
• Integrate well with Flow, Coroutines