Skip to main content

Module idempotency

Module idempotency 

Source
Expand description

Idempotency Key System for Smith Platform

This module provides idempotency key generation and management to prevent duplicate intent execution under network retries and failures.

Modules§

helpers
Helper functions for common idempotency patterns

Structs§

IdempotencyKey
Idempotency key for preventing duplicate executions
IdempotencyStats
Statistics about idempotency store usage
IdempotentResult
Result stored with idempotency key to prevent duplicate execution
InMemoryIdempotencyStore
In-memory idempotency store for development and testing

Enums§

IdempotencyError
Idempotency-related errors
IdempotentExecutionResult
Execution result that can be stored for idempotency

Traits§

IdempotencyStore
Trait for idempotency stores (in-memory, Redis, database, etc.)