oday
08/30/2018, 7:05 PMcarsService
object have already went outdiesieben07
08/30/2018, 7:07 PMsuspend
extension function on whatever you need to "wait for using a callback". In this case that would be whatever getIdToken
returnsoday
08/30/2018, 7:07 PMdiesieben07
08/30/2018, 7:07 PMsorry, mac keyboardMy sincerest condolences
oday
08/30/2018, 7:07 PMdiesieben07
08/30/2018, 7:08 PMinit
block, that cannot work.oday
08/30/2018, 7:08 PMdiesieben07
08/30/2018, 7:08 PModay
08/30/2018, 7:08 PMdiesieben07
08/30/2018, 7:08 PModay
08/30/2018, 7:09 PMdiesieben07
08/30/2018, 7:10 PModay
08/30/2018, 7:11 PMdiesieben07
08/30/2018, 7:12 PModay
08/30/2018, 7:12 PMdiesieben07
08/30/2018, 7:13 PMinit{}
to block until that listener is done?oday
08/30/2018, 7:14 PMdiesieben07
08/30/2018, 7:25 PModay
08/30/2018, 7:25 PM