async

package
v0.0.0-...-267b159 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

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