Specifically I'm talking about getResult() from firebase firestore. It throws an exception if the task isn't completed, and they have "add listener" crap that you can use, but I'd like to just call something like getResult in the commonpool context and have it suspend until the task is completed