Y
Hacker News
new
|
ask
|
show
|
jobs
by
joshguthrie
4818 days ago
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.