-
It seems that polycript is based on an outdated draft of the Web Crypto spec. The newer revision are based on Promises, instead of DOM Request - leading to a code pattern like
``` js
crypto.subtle.di…
-
Our workflow is that, any rejected promise not having a onReject handler (kind returned by monitor default setup) deserves to be logged into error database. Problem is, monitor reports all promises th…
OJezu updated
10 years ago
-
Just installed quotebrowser-userChrome with Waterfox on Windows 11. Have a grey bar under the tabs. When I click it seems like its the windows bar and can be moved around with the cursor click + dra…
-
Both Streams and Fetch (which builds upon Streams) resolve a promise with a byte sequence:
* https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes
* https://fetch.spec.whatwg…
-
**TypeScript Version:** 3.2.0-dev.20181004
**Code**
```ts
function f(b: boolean, pn: Promise, ps: Promise) {
return Promise.resolve().then(() => b ? pn : ps);
}
```
**Expected behavior:…
ghost updated
2 years ago
-
### Description
As a general rule, callbacks should not be called inside promises and, as a general rule, it is advisable to "nodeify" the promise call to properly work within a callback context.
…
-
[Stackblitz](https://stackblitz.com/~/github.com/predaytor/remix-test?file=app/routes/test.tsx)
When using `defer` to stream a response from a loader that returned a promise which later used in a …
-
As discovered by @iainireland in https://bugs.chromium.org/p/v8/issues/detail?id=13258
## Background
[`Atomics.waitAsync`](https://tc39.es/proposal-atomics-wait-async/) is a stage 3 TC39 proposal …
-
**Beskrivelse**
Det er laget et nytt og mer komplett typografisystem for liten, medium og stor skjerm. Dette må implementeres.
**Design**
https://www.figma.com/file/Lcwl9XGudPHWJqWSh6Ka5l/AR---Arbe…
-
How do I await all unsettled promises after `Context.Run()`?
*js code*
```js
(async () => {
await Promise.resolve();
throw new Error('test');
})();
console.log('after');
```
*cs co…