Slide 33
Slide 33 text
func passNonSendableType() async {
let nonSendableClass = NonSendableClass()
let counter = Counter()
await counter.updateNonSendableClass(nonSendableClass)
}
ϑϩʔηϯγςΟϒִղੳ 3FHJPOCBTFEJTPMBUJPO
˞9DPEFͩͱ4XJGUͰͳ͔ͥܯࠂ͕ग़ͳ͍
🟢
ϓϩϙʔβϧ
͜ͷྖҬ 3FHJPO
શମΛݟͯ҆શͰ͋Ε0,
4XJGU
9DPEF
Swift ConcurrencyͷཧղΛਂΊΔ > IsolationͷΈ > جຊ