dag

package
v0.0.0-...-6a3170c Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	*dag.Runner
}

Runner executes functions as DAG.

func NewRunner

func NewRunner() *Runner

NewRunner creates a DAG runner.

func (*Runner) AddVertex

func (r *Runner) AddVertex(name string, fn func() error)

AddVertex adds a function as a vertex in the graph.

Jump to

Keyboard shortcuts

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