MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / all_pressed

Method all_pressed

src/timely-util/src/builder_async.rs:765–770  ·  view source on GitHub ↗

Returns whether all workers have pressed their buttons.

(&mut self)

Source from the content-addressed store, hash-verified

763
764 /// Returns whether all workers have pressed their buttons.
765 pub fn all_pressed(&mut self) -> bool {
766 while self.puller.recv().is_some() {
767 self.buttons_remaining -= 1;
768 }
769 self.buttons_remaining == 0
770 }
771}
772
773pub struct Button {

Callers 3

txns_progress_frontiersFunction · 0.80
buildMethod · 0.80

Calls 2

is_someMethod · 0.80
recvMethod · 0.45

Tested by

no test coverage detected