Answer the question
In order to leave comments, you need to log in
How to run a function asynchronously in NodeJS?
Hello!
There is a function like this one:
const myFunc = async () => {
let data = redis.pop('list_name');
let response = await fetch('https://api.github.com/users/' + data);
log.add(response.status);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question