script

package
v0.0.0-...-9e054ec Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package script provides an API shim that integrates the userscript into the sequencer.Sequencer API.

Index

Constants

This section is empty.

Variables

Set is used by Wire.

Functions

This section is empty.

Types

type Sequencer

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

Sequencer injects the userscript shim into a sequencer.Sequencer stack.

func ProvideSequencer

func ProvideSequencer(
	loader *script.Loader, targetPool *types.TargetPool, watchers types.Watchers,
) *Sequencer

ProvideSequencer is called by Wire.

func (*Sequencer) Wrap

func (s *Sequencer) Wrap(
	_ *stopper.Context, delegate sequencer.Sequencer,
) (sequencer.Sequencer, error)

Wrap implements sequencer.Shim.

Jump to

Keyboard shortcuts

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