I would avoid globals for stylistic reasons above ...
# coroutines
e
I would avoid globals for stylistic reasons above all. You can try to solve your problem with CompletableDeferred.