If you are interested in performing additional calculations on Promise<T>, you may find this small library useful. Mutex, producer-consumer separation (side-effect operation), signaling (flag control) ...
WebAssembly runtime introduces experimental async API and support for dynamic linking in WASIX, enabling much broader support ...