{ 完整節目筆記 https://weakself.dev/episodes/60 }
新買的麥克風終於搞定,感謝 iPlayground 大力支持!既然讓大家久等了,這集就來聊 Swift async/await 的相關議題。
Async/await second pitch
主要是語法、用途
async is part of type
await is the suspension point
overload
await try 的順序
closure
protocol conformance
[discussion] await imply try or not
[discussion] reasync
Structured Concurrency
async/awiat 會逐一完成
async let 可以建立 sub task ,離開該 scope 就取消了 (disposebag, cancellable set)
Time out is easy (by only timeout the major block)
Cancel as well
近期 Apple 開發者新聞
AirPods Max
總結:你買不到
金屬外框、類似 iPad Air 4 配色
385 g 頗重
結語
更多 weak self
Twitter @weak_self
Share this post