develwoutacause’s Twitter Archive
—№ 796
⇤ Newest
Tweet
⇠ Newer
Tweet
Older
Tweet
⇢
…in reply to @BenLesh
@
BenLesh
The
fetch()
example would probably be pretty reasonable.
fetch('foo.json') |> await |> (res) => res.json() |> await |> (foo) =>
foo.bar
;
I guess the first await could be done normally if order of operations is kind.
On twitter.com
2021 Sep 12
Mood
0