testevent

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Overview

Package testevent provides utilities for tests that deal with concurrent events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitFor

func WaitFor(timeout time.Duration, fn func() error) error

WaitFor waits until the provided function returns a nil error or the timeout. If the function doesn't return a nil error before the timeout expires, returns the last returned error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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