concurrency

package
v0.0.0-...-3686697 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Loop

func Loop(interval time.Duration, f func())

Loop runs a function on every time interval usage: go Loop(time.Second(15), doSomething())

func LoopSync

func LoopSync(tk *time.Ticker, f func())

LoopSync runs a function on sync with an existing time.Ticker usage: go LoopSync(tk, doSomething())

func RunSyncronously

func RunSyncronously(tk *time.Ticker, fs []func())

RunSyncronously runs a collection of functions synchronously

Types

This section is empty.

Jump to

Keyboard shortcuts

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