Skip to content

Commit ee1297f

Browse files
committed
generation -> stage
1 parent 79dfcbf commit ee1297f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/judging-apis/src/invoke.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ pub struct Invoke(std::convert::Infallible);
88
/// Requests invoker to execute commands, specified in
99
/// `steps` field in request.
1010
/// # Execution order
11-
/// Each step has assigned `generation`.
12-
/// Steps with equal generation will be executed in the same time.
13-
/// Such steps can share pipes. Sharing pipes between steps with
14-
/// different generations results in error. For each generation,
15-
/// Steps creating new IPC stuff are executed first.
16-
/// Step will not be executed until all steps with less `generation`
11+
/// Each step has assigned `stage`.
12+
/// Steps with equal stage will be executed in the same time.
13+
/// Such steps can share pipes. Sharing pipes between steps from
14+
/// different stages results in error. For each stage,
15+
/// steps creating new IPC stuff are executed first.
16+
/// Step will not be executed until all steps with less `stage`
1717
/// will be finished.
1818
/// # Data
1919
/// `InvokeRequest` can specify input data items, that can be further used
@@ -67,7 +67,7 @@ pub struct Output {}
6767

6868
#[derive(Serialize, Deserialize)]
6969
pub struct Step {
70-
pub generation: u32,
70+
pub stage: u32,
7171
pub action: Action,
7272
}
7373

0 commit comments

Comments
 (0)