Skip to main content

create_keyed_message_pair

Function create_keyed_message_pair 

Source
pub async fn create_keyed_message_pair(
    runtime: &KhiveRuntime,
    specs: [AtomicNoteSpec<'_>; 2],
    physical_key: &str,
) -> RuntimeResult<KeyedMessageWrite>
Expand description

Create exactly two caller-namespaced message notes or return the outbound holder after rolling back a competing pair. The comm layer verifies payload and sibling integrity before treating Existing as a successful replay.