Comment on Sane Async Patterns in JavaScriptparentComments−joshguthrie13yIf that function is "supposed" to be async and its last argument is not something looking like "callback", there's a great chance it's a Promise.Otherwise, there's no "naming scheme" for promise-based functions.
Comments
If that function is "supposed" to be async and its last argument is not something looking like "callback", there's a great chance it's a Promise.
Otherwise, there's no "naming scheme" for promise-based functions.