You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a number of places where I request a specific URL. It would be nice if any concurrent requests would be de-duplicated so that any requests which are started while one is already in progress, joins the first and receives the same result.
I imagine that this would be similar to Go's singleflight: a collection wrapper around a Mutex, keyed on a string.
The text was updated successfully, but these errors were encountered:
I currently have a number of places where I request a specific URL. It would be nice if any concurrent requests would be de-duplicated so that any requests which are started while one is already in progress, joins the first and receives the same result.
I imagine that this would be similar to Go's singleflight: a collection wrapper around a Mutex, keyed on a string.
The text was updated successfully, but these errors were encountered: