This commit now requires tinygo_task_current which I've patched in my local TinyGo build.
This is a work in progress. It does not yet work.