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

Method with_warning

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

Add a warning.

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

Source from the content-addressed store, hash-verified

183
184 /// Add a warning.
185 pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self {
186 self.warnings.push(warning.into());
187 self
188 }
189
190 /// Returns `true` if a change was recorded during this dispatch.
191 pub fn was_recorded(&self) -> bool {

Calls 1

pushMethod · 0.45