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
{{ message }}
Repository navigation
Investigate use of futures/stream/async in Fetch #22813
In all cases where either the network or cached response is "awaited", this DoneChannel is used to signal that the response is ready, or cancelled.
It appears to me that the thread spawned at 1 above could be replaced with a(or several) Future, or maybe Stream, and that the entire workflow could be modeled with it. The "done channel" could also be replaced with a task-aware channel.
This is probably a better solution to the problem of "one thread per fetch" noted here #22768
Activity
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=<try>
Auto merge of #28639 - negator:negator/async, r=jdm