async

package
v1.1.35 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 3 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RetryDelay = 30 * time.Second

RetryDelay indicates how long to wait between restarting a subscriber connection in the case of network failures.

Functions

func Retry

func Retry(attempts int, delay time.Duration, f func() error) error

func RetryOnSpecificErrors added in v0.6.84

func RetryOnSpecificErrors(attempts int, delay time.Duration, f func() error, IsErrorRetryable func(error) bool) error

Types

This section is empty.

Directories

Path Synopsis
events
aws
Functions for serializing and deserializing scheduled events in AWS.
Functions for serializing and deserializing scheduled events in AWS.
interfaces
Defines an event scheduler interface
Defines an event scheduler interface
mocks
Mock implementation of a WorkflowExecutor for use in tests.
Mock implementation of a WorkflowExecutor for use in tests.
noop
No-op event event scheduler for use in development.
No-op event event scheduler for use in development.

Jump to

Keyboard shortcuts

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