Skip to content

Instantly share code, notes, and snippets.

@samzhao samzhao/index.js
Last active Jun 30, 2018

Embed
What would you like to do?
Usage of delayedMap helper
const toListItem = async item => {
const { thing } = await sendRequest();
return thing;
};
const delayTime = 100;
const items = delayedMap(listOfStuff, toListItem, delayTime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.