task

package
v0.0.0-...-a77b288 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTicker = time.NewTicker(200 * time.Millisecond)
)

Functions

func RunAnnotated

func RunAnnotated(task Task, description string, symbol string, options ...interface{}) error

RunAnnotated annotates a task with a description and a sequence of symbols indicating task activity until it terminates

Types

type Task

type Task func() error

Jump to

Keyboard shortcuts

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