Avatar
@Sendable でない @escaping なクロージャが何かの actor の context を持つことはない
あれ?これは引き継ぐのではないでしょうか?(わかんなくなってきましたw) Escaping closures can now be actor-isolated; only @Sendable prevents isolation. https://github.com/apple/swift-evolution/blob/main/proposals/0306-actors.md#revision-history @Sendable はnon-isolatedであるものの、 @_inheritActorContextが例外にしているのかと。 あーすいません上で既に話されてましたねw
(edited)