utils

package
v0.0.0-...-b984a18 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunConcurrentlyUntil

func RunConcurrentlyUntil(stopCh <-chan struct{}, funcs ...StoppableFunc)

RunConcurrentlyUntil runs several stoppable functions in parallel and blocks until all of them are executed.

Types

type StoppableFunc

type StoppableFunc func(<-chan struct{})

StoppableFunc is a type of function that blocks on run, but can be stopped via stop channel passed as an argument

Jump to

Keyboard shortcuts

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