MCPcopy Create free account
hub / github.com/dfinity/orbit / notify

Method notify

core/station/impl/src/core/observer.rs:30–34  ·  view source on GitHub ↗
(&self, t: &T)

Source from the content-addressed store, hash-verified

28 }
29
30 pub fn notify(&self, t: &T) {
31 for listener in &self.listeners {
32 listener(t);
33 }
34 }
35}
36
37#[cfg(test)]

Callers 11

test_observerFunction · 0.45
insertMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45
insertMethod · 0.45
removeMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_observerFunction · 0.36