flowutil

package
v0.0.0-...-a563701 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultipleConfirm

func MultipleConfirm(times int, isTenable func() bool, retryInterval time.Duration) bool

MultipleConfirm return true if `isTenable` functor holds for X times continuously, else return false

func RunUntilSuccess

func RunUntilSuccess(n int, f func() bool, retryInterval time.Duration) bool

RunUntilSuccess tries to run `f` function most `n` times until `f` return true, else return false

Types

This section is empty.

Jump to

Keyboard shortcuts

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