Post not yet marked as solved
Post marked as unsolved with 2 replies, 339 views
I can't figure out why this line of code complains that it's sometimes not being called from the main thread. Shouldn't the fact that this function has the @MainActor attribute on it result in the function being added to the main queue therefore processed on the main thread?
Am I'm just naive to how the @MainActor attribute actually works?