run

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EachUntil

func EachUntil(f func(), dur time.Duration, stopCh <-chan struct{})

EachUntil run f each dur, until stopCh return

func EachUntilImmediately

func EachUntilImmediately(f func(), dur time.Duration, stopCh <-chan struct{})

EachUntilImmediately like EachUntil but run f once immediately, unless stopCh already return

Types

This section is empty.

Jump to

Keyboard shortcuts

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