Skip to content

Instantly share code, notes, and snippets.

@samzhao
Last active June 30, 2018 03:59
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