react-component / react-component/upload
Is there any way to add a delay between each of the multiple calls?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 323
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
When using multiple: true, I can return a Promise from beforeUpload just fine... but I wanted to add a delay between each of the requests.
I can just add a delay at the beginning but all of the requests are gonna end up firing at the same time (tiny ms delay between them).
Does anyone have a clue on how to do this?
Thanks very much
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the handling for multiple: true and the beforeUpload Promise, then trace how requests are started; done should be a clear, tested way to control the delay between requests without causing them to fire together.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100