polling

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MPL-2.0 Imports: 7 Imported by: 955

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LongRunningPoller

type LongRunningPoller struct {
	// HttpResponse is the latest HTTP Response
	HttpResponse *http.Response
	// contains filtered or unexported fields
}

func NewLongRunningPollerFromResponse added in v0.16.1

func NewLongRunningPollerFromResponse(ctx context.Context, resp *http.Response, client autorest.Client) (LongRunningPoller, error)

NewLongRunningPollerFromResponse creates a new LongRunningPoller from the HTTP Response this is deprecated and replaced by NewPollerFromResponse. Can be removed once all the embedded SDKs have been removed.

func NewPollerFromResponse added in v0.35.0

func NewPollerFromResponse(ctx context.Context, resp *http.Response, client autorest.Client, method string) (LongRunningPoller, error)

NewPollerFromResponse creates a new LongRunningPoller from the HTTP Response

func (*LongRunningPoller) PollUntilDone

func (fw *LongRunningPoller) PollUntilDone() error

PollUntilDone polls until this Long Running Poller is completed

Jump to

Keyboard shortcuts

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