failure

open override fun failure(service: Service)


fun failure(block: (Service) -> Unit)

Sets the callback invoked when a service fails.

Parameters

block

the callback to invoke, receiving the failed Service.