Hacker News new | ask | show | jobs
by passthefist 3166 days ago
> Or perhaps more idiomatically you can "return callback();" when both the callback and the calling function return void

At least in JS I think that is idiomatic, it's an option for linting: https://eslint.org/docs/rules/callback-return.