Mr-r-r
the possibilities are pretty much endless
Pinned Loading
-
async code without callback hell
async code without callback hell 1const runRequest = (url) => (makeRequest) => makeRequest(url);
23const requestWithCallback = (_runRequestWithBindURL) => (callback) => _runRequestWithBindURL(
4(url) => {
5fetch(url).then((date) => {date.json().then((data2) => callback(data2));});
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.