leave

open override fun leave(call: Call, onSuccess: suspend (Call) -> Unit?, onError: suspend (Exception) -> Unit?)

Leave the call from the parameter.

Parameters

call

the call object.

onSuccess

optionally get notified if the operation was success.

onError

optionally get notified if the operation failed.