MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / with_warning

Method with_warning

atomic-agent/src/turn/orchestrator/mod.rs:172–175  ·  view source on GitHub ↗

Add a warning.

(mut self, warning: impl Into<String>)

Source from the content-addressed store, hash-verified

170
171 /// Add a warning.
172 pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self {
173 self.warnings.push(warning.into());
174 self
175 }
176
177 /// Returns `true` if a change was recorded during this dispatch.
178 pub fn was_recorded(&self) -> bool {

Calls 1

pushMethod · 0.45