MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / notify

Method notify

nodedb-bridge/src/waker.rs:49–51  ·  view source on GitHub ↗

Signal the other side that it should wake up and check the queue.

(&self)

Source from the content-addressed store, hash-verified

47
48 /// Signal the other side that it should wake up and check the queue.
49 pub fn notify(&self) {
50 self.signaled.store(true, Ordering::Release);
51 }
52
53 /// Check if a notification is pending and clear it.
54 /// Returns `true` if there was a pending notification.

Callers 8

try_send_requestMethod · 0.45
try_recv_responseMethod · 0.45
drain_responsesMethod · 0.45
try_recv_requestMethod · 0.45
drain_requestsMethod · 0.45
try_send_responseMethod · 0.45
signal_notify_and_takeFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by 2

signal_notify_and_takeFunction · 0.36