basicexecuter

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Overview

Package basicexecuter provides interfaces as document execution logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicExecuter

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

TODO currently BasicExecuter.Run() is not idempotent, we should make it so in future BasicExecuter is a thin wrapper over runPlugins().

func NewBasicExecuter

func NewBasicExecuter(context context.T) *BasicExecuter

NewBasicExecuter returns a pointer that impl the Executer interface using a pointer so that it can be shared among multiple threads(go-routines)

func (*BasicExecuter) Run

func (e *BasicExecuter) Run(
	cancelFlag task.CancelFlag,
	docStore executer.DocumentStore) chan contracts.DocumentResult

Jump to

Keyboard shortcuts

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