runner

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAsync

func NewAsync() asynchronous

NewAsync create new asynchronous

func NewLogRunner

func NewLogRunner(r Runner) *log

func NewSync

func NewSync() synchronous

NewAsync create new synchronous

Types

type LogRunner

type LogRunner interface {
	Named(name string, f func())
	Running() map[string]int
}

type Runner

type Runner interface {
	Go(func())
}

Runner run asynchronous or synchronous

Jump to

Keyboard shortcuts

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