Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
569 views

Cannot initialize MainActor isolated class from another

I have this little piece of code that won't compile due to Call to main actor-isolated initializer 'init(username:)' in a synchronous nonisolated context. I don't understand, since as you'll see both ...
Yotam's user avatar
  • 10.5k