appcycle

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ForceStopExitCode may need be to overridden (e.g. for testing), hence
	// the variables.
	ForceStopExitCode     = v23.ForceStopExitCode
	UnhandledStopExitCode = v23.UnhandledStopExitCode
)

Functions

This section is empty.

Types

type AppCycle

type AppCycle struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func New

func New() *AppCycle

func (*AppCycle) AdvanceGoal

func (m *AppCycle) AdvanceGoal(delta int32)

func (*AppCycle) AdvanceProgress

func (m *AppCycle) AdvanceProgress(delta int32)

func (*AppCycle) ForceStop

func (*AppCycle) ForceStop(ctx *context.T)

func (*AppCycle) Remote

func (m *AppCycle) Remote() interface{}

func (*AppCycle) Shutdown

func (m *AppCycle) Shutdown()

func (*AppCycle) Stop

func (m *AppCycle) Stop(ctx *context.T)

func (*AppCycle) TrackTask

func (m *AppCycle) TrackTask(ch chan<- v23.Task)

func (*AppCycle) WaitForStop

func (m *AppCycle) WaitForStop(_ *context.T, ch chan<- string)

Jump to

Keyboard shortcuts

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