Post
Confused Penguin I can’t figure out how to express that. If I make it MainActor, I can’t create it on a background thread, and I get warnings about == and hash methods requiring nonisolation. (It does need to be Hashable, since these are cached in a dictionary.)
0
0
0
Smiling Canidae Oh, you don’t need to isolate it to the main actor! You can just leave it as non-isolated and non-Sendable. I’m sure some other issue lead you to try isolating it with `@MainActor` - what was it?
0
0
0