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

Function bridge_state_session

atomic-agent/src/watcher/bridge.rs:28–30  ·  view source on GitHub ↗

The session name other Watchman subscribers see while a bridge transaction runs; it carries the journaled operation ID so events attributable to the in-flight operation are ignorable.

(operation_id: &str)

Source from the content-addressed store, hash-verified

26/// runs; it carries the journaled operation ID so events attributable to the
27/// in-flight operation are ignorable.
28pub fn bridge_state_session(operation_id: &str) -> String {
29 format!("{ATOMIC_BRIDGE_STATE}:{operation_id}")
30}
31
32/// Bracket one bridge transaction with `atomic-bridge` enter/leave.
33///

Callers 1

with_bridge_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected