Is it possible to chain `Get` calls together, like...
# general
r
Is it possible to chain
Get
calls together, like
await Get(<something>).and_then(lambda gr: Get(<something else>, gr))
?
e
No. The ~whole point of async / await in languages that support it is to have simpler syntax than chaining combinators.
so just:
Copy code
x = await ...
y = await x...
r
People prefer that? I think I'm too Scala-brained 😆
e
People definitely seem to prefer it in the large.
It took quite a few languages by storm as proof.
Doesn't scala support this with << or somesuch similar to Haskell?
Ah <-
r
Truthfully, I haven't coded in Scala regularly in a couple years so I forget 😅
But I always liked the chaining-style