Non-sendable type '(any URLSessionTaskDelegate)?' exiting actor-isolated context in call to non-isolated instance method 'data(from:delegate:)' cannot cross actor boundary
Please help, I am 1000% stuck on this issue in particular. Using strict asynchronous warnings, how can I make this work without warning? I can convert NetworkManager into a struct, but I prefer to keep it as an actor so that it is Sendable by default.
Meet distributed actors in Swift
RSS for tagDiscuss the WWDC22 Session Meet distributed actors in Swift
Posts under wwdc2022-110356 tag
1 Post
Sort by: