Constructor for TSWaiter.
|
Parameters |
Description |
|
const AClient: IS3Client |
Specifies an S3 client used to perform operations. |
|
const AMaxAttempts: Integer = 20 |
Specifies the maximum number of attempts made while waiting. Defaults to 20. |
|
const ADelay: Integer = 5000 |
Specifies the delay between attempts in milliseconds. Defaults to 5000 (5 seconds). |
|
const ABeforeAttempt: TProc<IS3Waiter> = nil |
A callback called before each attempt. |
|
const ABeforeWait: TProc<IS3Waiter> = nil |
A callback called before each wait (sleep). |
|
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|