set Success And Failure
Set the success and failure actions of this fiber. The former runs if the fiber succeeds, passing the resulting AvailObject, and also stashing it in the fiber. The latter runs if the fiber fails, passing the Throwable that caused the failure.
Parameters
on Success
The action to invoke with the fiber's result value.
on Failure
The action to invoke with the responsible throwable.