package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Packages

package buffered implements an event dispatcher with buffering semantics.
package direct implements a synchronous event dispatcher.

# Functions

NewProgressReporter creates a new progress reporter using the specified dispatcher disp as output sink.
NewWriter creates a new event writer that can be used as a progress output sink.

# Constants

StatusCompleted indicates a completed operation.
StatusCompletedPending indicates a completed operation but with installer still active.
StatusUnknown indicates an unknown progress status.

# Structs

Event describes the installer progress step.
EventWriter is an event dispatcher that can be used as an output sink for progress reporter.

# Interfaces

EventDispatcher dispatches progress events to clients.

# Type aliases

Status defines the progress status.