Documentation
¶
Overview ¶
Package foreground coordinates caller-visible task occupancy without owning durable task lifecycle state.
Index ¶
Constants ¶
View Source
const DefaultTimeoutMs = 120_000
Variables ¶
This section is empty.
Functions ¶
func ProjectionDetached ¶
ProjectionDetached returns a signal closed when foreground coordination has stopped projecting the current execution. A nil signal means no coordinator is attached.
Types ¶
type CandidateInfo ¶
type CandidateInfo struct {
TaskID string
Kind string
Description string
OutputFile string
StartedAt time.Time
Elapsed time.Duration
}
CandidateInfo describes a process-local foreground execution that may be handed off to background ownership. TaskID is pre-allocated for correlation; no backgroundtask.Task exists until a handoff callback submits one.
Click to show internal directories.
Click to hide internal directories.