Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is using Location.
Types ¶
type Poller ¶
type Poller[T any] struct { Type string `json:"type"` PollURL string `json:"pollURL"` CurState string `json:"state"` // contains filtered or unexported fields }
Poller is an LRO poller that uses the Location pattern.
func New ¶
New creates a new Poller from the provided initial response. Pass nil for response to create an empty Poller for rehydration.
Click to show internal directories.
Click to hide internal directories.