Skip to main content

decide_enrolled_operation

Function decide_enrolled_operation 

Source
pub const fn decide_enrolled_operation<F>(
    conversation: ParticipantConversation,
    commit: EnrollmentCommit<F>,
) -> AggregateOperationDecision<EnrollmentCommit<F>>
Expand description

Selects the aggregate Enrolled event for one consumed enrollment commit.

The event body repeats the exact committed Attached record carried by super::commit_enrollment’s result; the commit itself returns intact through the durability barrier.