wait

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UntilDone

func UntilDone(timeoutSeconds int, fn func() (chan bool, chan error)) (bool, error)

UntilDone Wait for the process to finish, error or timeout

func UntilTrue

func UntilTrue(timeoutSeconds int, fn func() (bool, error)) (bool, error)

UntilTrue call the fn every 500 millis until it errors, returns or a timeout

Types

This section is empty.

Jump to

Keyboard shortcuts

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