Skip to main content
Version: 2.1

TS3Waiter

Class in AWS.S3

Base class for S3 Waiters.

Ancestors​

Properties​

Attempts​

property Attempts: Integer

BeforeAttempt​

property BeforeAttempt: TProc<IS3Waiter>

Type: IS3Waiter

BeforeWait​

property BeforeWait: TProc<IS3Waiter>

Type: IS3Waiter

Delay​

property Delay: Integer

Client​

property Client: IS3Client

Type: IS3Client

MaxAttempts​

property MaxAttempts: Integer

Constructors​

Create​

constructor Create(const AClient: IS3Client; const AMaxAttempts: Integer = 20; const ADelay: Integer = 5000; const ABeforeAttempt: TProc<IS3Waiter> = nil; const ABeforeWait: TProc<IS3Waiter> = nil);

IS3Client · IS3Waiter · IS3Waiter

Constructor for TSWaiter.

Parameters

NameDescription
AClientSpecifies an S3 client used to perform operations.
AMaxAttemptsSpecifies the maximum number of attempts made while waiting. Defaults to 20.
ADelaySpecifies the delay between attempts in milliseconds. Defaults to 5000 (5 seconds).
ABeforeAttemptA callback called before each attempt.
ABeforeWaitA callback called before each wait (sleep).