going the other direction, in https://hyperscript.org, we decided colored functions are bad, and so, as much as possible, made the runtime responsible for resolving Promises:
this does a reasonable job of doing away w/ the sync/async distinction. The theory here is that, as someone doing light web scripting, that's something I shouldn't have to worry about.
it makes for some neat event-driven control flow w/in the imperative structure of the language:
https://hyperscript.org/docs/#async
this does a reasonable job of doing away w/ the sync/async distinction. The theory here is that, as someone doing light web scripting, that's something I shouldn't have to worry about.
it makes for some neat event-driven control flow w/in the imperative structure of the language:
https://hyperscript.org/docs/#async_loops