afterFinish

abstract fun afterFinish(handler: (cause: Throwable?) -> Unit)

Allows you to execute a handler after the current call is finished.

Parameters

cause

An exception that can take place before the call has finished.