You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(isAsyncFn&&!called&&!isPromise(syncResult)){varmsg='async function need to call `done/cb` callback argument or return a Promise'reject(newError('redolent: '+msg))}
for example
varfn=redolent(function(foo,done){console.log('foo is',foo)// done is not called nor Promise is returned,// so when `fn` is called it will return rejected promise })fn(123).catch(console.log)
The text was updated successfully, but these errors were encountered:
Almost the same as #18
for example
The text was updated successfully, but these errors were encountered: