runner

package
Version: v0.0.0-...-dcd00bf Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelChan

type CancelChan <-chan struct{}

type CancelableRunner

type CancelableRunner interface {
	Run() (done func() error, cancel func())
}

func NewCancelableRunner

func NewCancelableRunner(execute func(done DoneChan, cancel CancelChan)) CancelableRunner

type DoneChan

type DoneChan chan<- error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL