Handles a promise and returns a tuple with the error and the result.
The type of the result of the promise.
The type of the error of the promise.
The promise to handle.
A promise that resolves to a tuple with the error and the result.
Generated using TypeDoc
Handles a promise and returns a tuple with the error and the result.