const failureResult = await asyncFailure('some failure').mapErr(value => value + ', another failure');failureResult.orNull(); // produces: nullfailureResult.failureOrElse('Not this'); // produces: "some failure, another failure" Copy
const failureResult = await asyncFailure('some failure').mapErr(value => value + ', another failure');failureResult.orNull(); // produces: nullfailureResult.failureOrElse('Not this'); // produces: "some failure, another failure"