package body
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/internal/pollers/body"
Index ¶
Functions ¶
func Applicable ¶
Applicable returns true if the LRO is using no headers, just provisioning state. This is only applicable to PATCH and PUT methods and assumes no polling headers.
func CanResume ¶
CanResume returns true if the token can rehydrate this poller type.
Types ¶
type Poller ¶
type Poller[T any] struct { // The poller's type, used for resume token processing. Type string `json:"type"` // The URL for polling. PollURL string `json:"pollURL"` // The LRO's current state. CurState string `json:"state"` // contains filtered or unexported fields }
Poller is an LRO poller that uses the Body pattern.
func New ¶
New creates a new Poller from the provided initial response. Pass nil for response to create an empty Poller for rehydration.
func (*Poller[T]) Done ¶
func (*Poller[T]) Poll ¶
func (*Poller[T]) Result ¶
Source Files ¶
- Version
- v1.18.0 (latest)
- Published
- Apr 3, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 4 hours ago –
Tools for package owners.