Argument type of .match method on an {@link IFailbale}. It takes an object containing two callbacks; One for success and failure case. The value returned by these callbacks should be the same type.
Callback that is run in case of failure. It is passed the error value of the result.
Callback that is called in case of success. It is passed the success value of the result.
Generated using TypeDoc
Argument type of .match method on an {@link IFailbale}. It takes an object containing two callbacks; One for success and failure case. The value returned by these callbacks should be the same type.