Contents

actionWasConfirmed(_:oldSnapshot:newSnapshot:)

Called once for each action which passed validation in the update in which it is confirmed as a part of the shared network table state. All players in a network session are guaranteed to observe the same sequence of actionWasConfirmed and actionWasRolledBack callbacks. In a network session, these callbacks are delayed behind actionIsPending callbacks by approximately a network round trip time.

Declaration

func actionWasConfirmed(_ action: some TabletopAction, oldSnapshot: TableSnapshot, newSnapshot: TableSnapshot)

See Also

Validating actions