MCPcopy Create free account
hub / github.com/comnik/declarative-dataflow / add_button

Method add_button

src/lib.rs:301–303  ·  view source on GitHub ↗

Adds another shutdown button to this handle. This button will then also be pressed, whenever the handle is shut down or dropped.

(&mut self, button: ShutdownButton<CapabilitySet<T>>)

Source from the content-addressed store, hash-verified

299 /// then also be pressed, whenever the handle is shut down or
300 /// dropped.
301 pub fn add_button<T: Timestamp>(&mut self, button: ShutdownButton<CapabilitySet<T>>) {
302 self.shutdown_buttons.push(Box::new(button));
303 }
304
305 /// Combines the buttons of another handle into self.
306 pub fn merge_with(&mut self, mut other: Self) {

Callers 5

implementMethod · 0.80
implementMethod · 0.80
attribute_attributeFunction · 0.80
collection_attributeFunction · 0.80
implementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected