Help us shape the future of Go! Take the 2026 Go Developer Survey

streamsupervisor

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package streamsupervisor reconciles durable activations independently of bus delivery.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Supervisor

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

Supervisor reconciles durable intent and dispatches admitted worker attempts.

func New

func New(deps runner.Deps, dispatch filament.Dispatcher) *Supervisor

New creates a supervisor; a nil dispatcher executes workers in process.

func (*Supervisor) Close

func (s *Supervisor) Close()

Close stops reconciliation and waits for in-process workers to drain.

func (*Supervisor) Reconcile

func (s *Supervisor) Reconcile(ctx context.Context) error

Reconcile dispatches pending runs using durable ownership and intent.

func (*Supervisor) Start

func (s *Supervisor) Start(ctx context.Context)

Start begins reconciliation until cancellation or Close. Call it once.

Jump to

Keyboard shortcuts

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