MCPcopy Create free account
hub / github.com/BillyDM/Firewheel / queue_event

Method queue_event

crates/firewheel-core/src/node.rs:368–375  ·  view source on GitHub ↗

Queue an event to send to this node's processor counterpart.

(&mut self, event: NodeEventType)

Source from the content-addressed store, hash-verified

366
367 /// Queue an event to send to this node's processor counterpart.
368 pub fn queue_event(&mut self, event: NodeEventType) {
369 self.event_queue.push(NodeEvent {
370 node_id: self.node_id,
371 #[cfg(feature = "scheduled_events")]
372 time: None,
373 event,
374 });
375 }
376
377 /// Queue an event to send to this node's processor counterpart, at a certain time.
378 ///

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected