try

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Until

func Until(something func() (bool, error), tick, timeout time.Duration) (bool, error)

Until keeps trying until timeout or there is a result or an error

Types

type ErrTimout

type ErrTimout struct {
	// contains filtered or unexported fields
}

ErrTimout is used when the set timeout has been reached

func (*ErrTimout) Error

func (e *ErrTimout) Error() string

Jump to

Keyboard shortcuts

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