You probably missed my message on Slack earlier today, but I posted the exact same snippet earlier today... https://forums.swift.org/t/determining-whether-an-async-function-will-run-on-the-main-actor/
You probably missed my message on Slack earlier today, but I posted the exact same snippet earlier today... https://forums.swift.org/t/determining-whether-an-async-function-will-run-on-the-main-actor/