« first day (2274 days earlier)      last day (1843 days later) » 

 
8 hours later…
 
2 hours later…
10:23 AM
@ShrekOverflow
this is my code :

_onSearchChange = async currentSearch => {
if (currentSearch === '') {
this.setState({ filter: [], currentSearch })
} else {
setTimeout(async () => {
this.getSuggestions(currentSearch)
}, 25)
}
}
 
1 message moved from JavaScript
 
_onSearchChange = async currentSearch => {
    if (currentSearch === '') {
      this.setState({ filter: [], currentSearch })
    } else {
      setTimeout(async () => {
        this.getSuggestions(currentSearch)
      }, 25)
    }
  }
 
 
2 hours later…
12:37 PM
 
1 message moved from Android
 
var func1 = function() {

    return new Promise(resolve => {
        return 'christian';
    });
}



var concurrentPromise = function() {
  console.log('==CONCURRENT START with Promise.all==');
  return Promise.all([func1()]).then((messages) => {
    console.log(message);
  });
}();
 
1 message moved from JavaScript
 
@BhargavRao could you convert ----^ to a comment?
 
 
4 hours later…
8:02 PM
@Jaap done
 

« first day (2274 days earlier)      last day (1843 days later) »