# What’s next for Foundation

**URL:** <https://forums.swift.org/t/what-s-next-for-foundation/61939>\
**Category:** Core Libraries\
**Created:** [December 9, 2022, 4:38pm UTC](https://forums.swift.org/t/what-s-next-for-foundation/61939 "2022-12-09T16:38:55Z")\
**Posts on this page:** 1\
**Showing post:** 109

<div class="post-metadata">

**Author:** ![Geordie\_J](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/geordie_j/32/839_2.png) [@Geordie\_J](https://forums.swift.org/u/Geordie_J)\
**Post date:** [January 17, 2023, 8:21am UTC](https://forums.swift.org/t/what-s-next-for-foundation/61939/109 "2023-01-17T08:21:51Z")

</div>

Hi @John_McCall, thanks a lot for your ideas so far. I implemented the suggestion I posted above today and it’s all building, taking some inspiration from @kateinoigakukun’s implementation in JavaScriptKit. Basically, the integration between the Android and Swift runtimes looks like it should work.

The issue is, the `swift_task_enqueueMainExecutor_hook` is not being called. I set that pointer to my override, add a task to the main actor (`Task.detached { @MainActor in doSomething() }` and the hook is never called (nor is the task of course). Does it only work if I specifically disable Dispatch while building Swift?

---

_[View the full topic](https://forums.swift.org/t/what-s-next-for-foundation/61939)._
