UNPKG

return-style

Version:

Non-intrusively convert the result of any function or promise to the user's desired style.

10 lines 222 B
import { pass } from '@blackglory/prelude'; export async function getResultPromise(promise) { try { return await promise; } catch { pass(); } } //# sourceMappingURL=get-result-promise.js.map