One of the first thoughts I had was "Oh, could this replace PointFree's replace-the-global-enqueue-hook hack for more deterministic testing?"
// Naively run all test tasks on the main thread…
await withMainExecutor {
await testMyCode()
}
Testing wasn't mentioned in the proposal, but I'm sure I won't be the only one to think of this.
Also, with the exceptions mentioned in the proposal, it seems like it might not work completely?
I guess I'm wondering if you think this is a viable solution to this topic from last year since the approach seems somewhat similar.