threads

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Thread

type Thread struct {
	ID int

	Result      chan *shared.RuntimeValue
	Error       chan *errors.RuntimeError
	ReturnValue *shared.RuntimeValue
	StartedAt   time.Time
	FinishedAt  time.Time
	Cancel      context.CancelFunc
	Context     context.Context
	Status      ThreadStatus
	// contains filtered or unexported fields
}

type ThreadStatus

type ThreadStatus string
const (
	RUNNING  ThreadStatus = "RUNNING"
	FINISHED ThreadStatus = "FINISHED"
	KILLED   ThreadStatus = "KILLED"
)

Jump to

Keyboard shortcuts

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