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 ¶
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.
Click to show internal directories.
Click to hide internal directories.