bbaldino
09/30/2022, 4:50 PMSemaphore
that has no available 'permits' to start? I need to launch a coroutine to keep a scope alive, but have it suspend until something else tells it to "go"Casey Brooks
09/30/2022, 4:51 PMCompletableDeferred
is probably the easiest thing to use as a simple “signal”bbaldino
09/30/2022, 4:54 PMephemient
09/30/2022, 4:59 PMlaunch(start = CoroutineStart.LAZY)
- the resulting job will not start until you call .start()
or .join()
on itbbaldino
09/30/2022, 5:00 PMephemient
09/30/2022, 5:00 PMbbaldino
09/30/2022, 5:00 PM