ARTICLE AD BOX
I am trying to access a function from an Actor and getting the below error.
Error: Call to actor-isolated instance method 'loadJson' in a synchronous actor-isolated context public actor HandlerA { public func functionA1 { let utility = Utility() utility.loadJson() } } public actor Utility { public func loadJson() -> [Any] { return [] } }Disclaimer: I am new to concurrency programming and Swift 6
