lro

package
v0.0.1-dev.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package lro defines options used to wait for long-running operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*internaloptions.LROOptions) error

Option configures a wait for a long-running operation.

func WithTimeout

func WithTimeout(timeout time.Duration) Option

WithTimeout returns an Option that limits the complete wait, including every polling attempt. When the context already has a deadline, the earlier deadline applies. A zero duration removes a timeout set by an earlier Option. After all options are applied, a final negative duration returns an error before polling begins.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL