Returns the success value or throws the error. Non-Error failures are wrapped.
const value = unwrap(await tryRefresh()); Copy
const value = unwrap(await tryRefresh());
Returns the success value or throws the error. Non-Error failures are wrapped.