Avatar
Avatar
omochimetaru
Actor ContextをまたぐときはSendable closureしか渡せない、というのが良いのでは
Actor ContextをまたぐときはSendable closureしか渡せない、というのが良いのでは
Swift5.6だと警告が出るので、Swift6ではエラーになりそうですね。 Cannot pass argument of non-sendable type '(() -> Void)?' across actors