Updated 6 months ago
@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`.
Updated 6 months ago
@stdlib/utils-async-try-then
If a function does not return an error, invoke a callback with the function result; otherwise, invoke a second function.
Updated 6 months ago
@stdlib/utils-try-then
If a function does not throw, return the function return value; otherwise, return the return value of a second function.