guarded Do
fun guardedDo(op: SimpleCompletionHandler.Companion.GuardHelper<V>.() -> Unit)
Content copied to clipboard
Perform the specified I/O operation, guarded by a try/catch that invokes the same failure handler as the operation itself would in the event of an asynchronous failure.
Parameters
op
The I/O operation.