@rjmccall @cocoaphony @mergesort @kylebshr @justkwin @jsq
In my (so far limited) experiments with Swift concurrency, I’ve found myself getting tangled in knots fast when I try to use old habits and start my reasoning from “what thread am I on,” and get untangled by thinking about two things:
1. What code wants to let others take a turn and come back later? (Where are the `await`s?)
2. What data must be accessed sequentially, one piece of code at a time? (What isn’t Sendable?)