launch

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	Stopped = "The reply was stopped."
	Failed  = "✗ "
)

Notices of a reply's end the agent's server sends and the command line reads: a reply stopped, and the mark before why a reply failed, which no other notice of a reply starts with

Variables

This section is empty.

Functions

This section is empty.

Types

type Asked

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

What the launch of the app asked of the sessions its windows start or resume: the flags given, by their first spelling; and the sessions the launch sent messages to, which end as their hooks know it once the launch does

func Register

func Register(registry *launch.Registry) *Asked

Registers the flags; what they asked, which the app sends with the first message of each session

func (*Asked) Hold

func (a *Asked) Hold(id, profile string)

Records a session the launch sent a message to, on the profile it runs on

func (*Asked) Launch

func (a *Asked) Launch() *agentv1.Launch

What a session is asked from the launch, its flags or their variables in the environment; nil when nothing was asked

Jump to

Keyboard shortcuts

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