ArchitectureDiDi
Request state machine
A screen with a network request has loading, success, failure, retry, refresh, and cancel states all tangled together. How do you design those state transitions?
Request state machine
A screen with a network request has loading, success, failure, retry, refresh, and cancel states all tangled together. How do you design those state transitions?
ArchitectureShort answerAdvanced
Your team is evaluating TCA (The Composable Architecture). What problems does TCA solve?
#unidirectional
ConcurrencyShort answerBasics
You're building an image pipeline: download, resize, then save to the disk cache, and whe…
#cancellation
ConcurrencyShort answerBasics
In Swift Concurrency, when you create a Task { }, when and where does that code run?
#cancellation
ConcurrencyMultiple choiceAdvanced
Which of the following statements about structured concurrency (async let, TaskGroup) are…
#cancellation