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
Seems it can't, but you can write your own wrapped function like following: const jsonpFetch = (url, options) => new Promise((resolve, reject) => jsonp(url, options, (err, data) => err ? reject(err) : resolve(data)));
...or just use some another jsonp package.
hello, can jsonp function return new promise ?
The text was updated successfully, but these errors were encountered: