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

Method call

src/compute-client/src/controller.rs:1120–1125  ·  view source on GitHub ↗

Calls the given function on the instance task. Does not await the result. # Panics Panics if the instance corresponding to `self` does not exist.

(&self, f: F)

Source from the content-addressed store, hash-verified

1118 ///
1119 /// Panics if the instance corresponding to `self` does not exist.
1120 fn call<F>(&self, f: F)
1121 where
1122 F: FnOnce(&mut Instance) + Send + 'static,
1123 {
1124 self.client.call(f).expect("instance not dropped")
1125 }
1126
1127 /// Calls the given function on the instance task, and awaits the result.
1128 ///

Callers 15

create_instanceMethod · 0.45
drop_instanceMethod · 0.45
update_configurationMethod · 0.45
drop_replicaMethod · 0.45
create_dataflowMethod · 0.45
drop_collectionsMethod · 0.45
peekMethod · 0.45
cancel_peekMethod · 0.45

Calls 1

expectMethod · 0.80

Tested by

no test coverage detected