Foundation is large and buggy on non-Darwin platforms. This PR follows on from #344 to continue removing the last dependencies we have on the library (and also on Dispatch wherever possible).
Please check if the PR fulfills these requirements
[ ] Self-review: I am confident this is the simplest and clearest way to achieve the expected behaviour
[ ] There are no dependencies on other PRs or I have linked dependencies through Zenhub
[ ] The commit messages are clean and understandable
[ ] Tests for the changes have been added (for bug fixes / features)
Type of change: DX, Perf, Bugfix
Motivation (current vs expected behavior)
Foundation is large and buggy on non-Darwin platforms. This PR follows on from #344 to continue removing the last dependencies we have on the library (and also on Dispatch wherever possible).
Please check if the PR fulfills these requirements