stm2go

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tasktype

type Tasktype int
const (
	Done Tasktype = iota
	Continue
)

type TestEnv

type TestEnv struct {
	// contains filtered or unexported fields
}

func NewTestEnv

func NewTestEnv() *TestEnv

func (*TestEnv) Add

func (t *TestEnv) Add(tasktype Tasktype, x func())

func (*TestEnv) Go

func (t *TestEnv) Go()

func (*TestEnv) Set

func (t *TestEnv) Set(i time.Duration)

func (*TestEnv) Sleep

func (t *TestEnv) Sleep(h time.Duration)

Jump to

Keyboard shortcuts

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