Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker interface {
OnEvent(any)
}
Tracker receives progress events during image operations. Implementations must be safe for concurrent use from multiple goroutines.
Nop is a no-op tracker for callers that don't need progress.
func NewTracker ¶
NewTracker creates a Tracker from a typed callback function. The caller works with a concrete event type; the Tracker interface stays non-generic so it can be used in interfaces like Images.
Click to show internal directories.
Click to hide internal directories.