Creates an empty result handler.
Creates an empty result handler. No actions are performed for this handler.
type of the result object
the result handler
Creates a result handler that performs the given action of either the success or the failure case, depending on the result.
Creates a result handler that performs the given action of either the success or the failure case, depending on the result.
type of the result object
action to perform in case of success
action to perform in case of failure
the result handler
Creates a result handler that performs the given action in case of a failed result.
Creates a result handler that performs the given action in case of a failed result.
type of the result object
action to perform in case of failure
the result handler
Creates a result handler that performs the given action in case of a successful result.
Creates a result handler that performs the given action in case of a successful result.
type of the result object
action to perform in case of success
the result handler