MCPcopy Create free account
hub / github.com/consensus-shipyard/ipc / with

Method with

fendermint/eth/api/src/cache.rs:74–80  ·  view source on GitHub ↗
(&self, f: F)

Source from the content-addressed store, hash-verified

72 }
73
74 pub fn with<F, T>(&self, f: F) -> T
75 where
76 F: FnOnce(&mut LruCache<K, V>) -> T,
77 {
78 let mut guard = self.cache.lock().expect("cache poisoned");
79 f(&mut guard)
80 }
81}
82
83/// Facilitate Ethereum address <-> Actor ID lookups.

Callers 14

insertMethod · 0.80
remove_manyMethod · 0.80
remove_unblockedMethod · 0.80
insertMethod · 0.80
getMethod · 0.80
removeMethod · 0.80
remove_manyMethod · 0.80
setup_logsFunction · 0.80
default_subscriberFunction · 0.80
start_ui_serverFunction · 0.80
run_objects_serviceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected