bartosz.malkowski
01/04/2018, 10:50 AMvoddan
01/04/2018, 12:21 PMrequest
into a suspending function. That would mean that it can be called from any coroutine, suspend it, then return a result or throw an exceptionsuspend fun Client.request(e: Element) {...}
bartosz.malkowski
01/04/2018, 12:34 PMvoddan
01/04/2018, 2:10 PM