2 ms·
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, th
by joshguthrie 14y 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.