AdaptiveBackfill.BatchOperationOptions (adaptive_backfill v0.2.1)
View SourceStruct that holds config for batch operations, used for pagination or chunked behaviour.
Summary
Types
@type t() :: %AdaptiveBackfill.BatchOperationOptions{ batch_size: pos_integer() | nil, checkpoint: Checkpoint.t() | nil, delay_between_batches: non_neg_integer() | nil, handle_batch: (any() -> {:ok, any()} | {:error, any()} | :done), health_checkers: [AdaptiveBackfill.Types.health_checker()], initial_state: any(), mode: AdaptiveBackfill.Types.operation_mode(), on_complete: (any() -> any()), on_error: (any(), any() -> any()), on_success: (any() -> any()), telemetry_prefix: [atom()] | nil, timeout: non_neg_integer() | nil }