I expected NotificationCenter.MainActorMessage conforming types to be post-able from anywhere and auto-isolate delivery to the main actor. Instead, I get a EXC_BREAKPOINT when this is invoked from a background queue.

If it were required to post on the main actor, the NotificationCenter.post message surely would be MainActor-isolation annotated, wouldn't it?

I wonder what goes on there.

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/ctietze/statuses/116005750922216047 on your instance and quote it. (Note that quoting is not supported in Mastodon.)