File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 88[ ![ License] ( https://img.shields.io/badge/license-MIT-green.svg )] ( LICENSE-MIT )
99
1010` future_queue ` provides ways to run several futures:
11+
1112* concurrently
1213* in the order they're spawned
1314* with global limits
@@ -98,6 +99,11 @@ except it is possible to specify an optional *group* for each future. Each group
9899weight, and a future will only be scheduled if both the maximum weight and the group weight
99100aren't exceeded.
100101
102+ The adaptor is as fair as possible under the given constraints: it will schedule futures in
103+ the order they're returned by the stream, without doing any reordering based on weight. When
104+ a future from a group completes, queued up futures in this group will be preferentially
105+ scheduled before any other futures from the provided stream.
106+
101107The current weight for groups may exceed the maximum weight, similar to ` future_queue ` .
102108
103109#### Examples
You can’t perform that action at this time.
0 commit comments