We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This doesn't work as expected:
fount.register('foo', async (config) => { var foo = await getFoo(config).catch(() => null) return foo })
What is registered is the entire async function, rather than its resolved value, which is surprising.
async
Luckily, this is already fixed by #14 . Lodash 3's isFunction returns false for async functions, fauxdash's version works as expected.
isFunction
fauxdash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This doesn't work as expected:
What is registered is the entire
async
function, rather than its resolved value, which is surprising.Luckily, this is already fixed by #14 . Lodash 3's
isFunction
returns false for async functions,fauxdash
's version works as expected.The text was updated successfully, but these errors were encountered: