d.medina
06/01/2020, 3:45 PMzak.taccardi
06/01/2020, 3:46 PMd.medina
06/01/2020, 3:51 PMZach Klippenstein (he/him) [MOD]
06/01/2020, 3:55 PMelizarov
06/01/2020, 3:58 PMsuspend
You only mark those functions as suspend
that perform some long-running things and wait for them (like sending requests to server, etc). This way, your code and architecture because easier to read and to understand as there is a clear separation between fast local and potentially very slow remote computations.