next.js
ae1b8998 - Async Batcher (#56423)

Commit
2 years ago
Async Batcher (#56423) There's lots of situations in Next.js where we want to ensure that only one operation is in progress at a time for a given task. An example of this is our response cache. The expectation is that for multiple requests for the same page should only result in a single invocation. This isn't new behavior, but this abstracts the batching interface away so we don't duplicate it.
Author
Parents
Loading