Restore foreground/background distinction and confine application state to the main thread (#3206)

The potential for deadlock and other complexity ended up convincing us
that the benefits of making the app state accessible from any thread
were not worth their cost. We probably could have gone back to the old
executors, but we decided to fix forward and continue to get the
benefits of the new dispatcher.
6cab5c2885Nathan Sobo committed on 11/2/2023, 3:29:28 AM· committed by GitHubparents72d060164ee1bb
57 files changedLine totals unavailable