Interface AstraPollBlockingOptions

Overview (See AstraAdminBlockingOptions)

This is one of the possible shapes for AstraAdminBlockingOptions, specifying blocking behavior.

In this mode, operations will poll the database's status until the operation is fully complete.

Refer to AstraAdminBlockingOptions for full behavior details and examples.

interface AstraPollBlockingOptions {
    blocking?: true;
    pollInterval?: number;
}

Properties

blocking?: true

Whether to block the operation until it is complete.

Set blocking to true or leave it unset to enable blocking, having the method poll until completion.

pollInterval?: number

How often (in milliseconds) to poll the operation's status until it completes.

Optional; if not set, a default poll interval, determined on a method-by-method basis, will be used.