[dead]
const value1 = await task1(init);
const value2 = await task2(value1); const myPromise = new Promise((resolve, reject) => resolve(”foo”));
Afterwards either try-catch await myPromise, or use myPromise.then().catch() const counter = UInt64(42);
The current state of the art is const counter = BigInt.asUintN(64, 42);