Chris Krycho on Nostr: I wrote up a quick note on “fairness” with async operations and how it is *not* a ...
Published at
2025-01-16 02:59:32Event JSON
{
"id": "f87cf489686c8d8fc3167eee1da89c27e92961738f909d0edf89daa2bb6514b6",
"pubkey": "991bc7c784f618e159be31da0ff2f015752d8b491b6a40e42eb8608e8aee513f",
"created_at": 1736996372,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"typescript"
],
[
"proxy",
"https://mastodon.social/users/chriskrycho/statuses/113835794272876043",
"activitypub"
]
],
"content": "I wrote up a quick note on “fairness” with async operations and how it is *not* a property of `Promise.race` and `Promise.all` in #JavaScript (or #TypeScript, obviously!). This is not something you have to think about often, but does it ever matter when you do! https://v5.chriskrycho.com/notes/javascript-promise-race-and-promise-all-are-not-fair/",
"sig": "47248871bc9f7cac2a81412e5f81dea70a34cc10ebd3916d7831a3392c8a0941dec95401d9643524b79a61dfbf5034a7911cf6164fa486a93502b36fa4d6c1e6"
}