MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / new_job_id

Method new_job_id

crates/hyperqueue/src/server/state.rs:82–86  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

80 }
81
82 pub fn new_job_id(&mut self) -> JobId {
83 let id = self.job_id_counter;
84 self.job_id_counter += 1;
85 id.into()
86 }
87
88 pub fn revert_to_job_id(&mut self, id: JobId) {
89 self.job_id_counter = id.as_num();

Callers 2

handle_submitFunction · 0.80
handle_open_jobFunction · 0.80

Calls 1

intoMethod · 0.80

Tested by

no test coverage detected