@stdlib/utils-async-try-catch

If a function does not return an error, invoke a callback with the function result; otherwise, invoke a callback with a value `y`.

Browse on unpkg