fork

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ForkRule

type ForkRule struct {
}

func NewForkRule added in v0.0.4

func NewForkRule() *ForkRule

func (ForkRule) Id

func (f ForkRule) Id() string

func (ForkRule) Infinity added in v0.0.4

func (f ForkRule) Infinity() bool

func (ForkRule) Initialize

func (f ForkRule) Initialize(ctx context.Context, option map[string]interface{}) error

func (ForkRule) Run

func (f ForkRule) Run(ctx context.Context, subscribeQueueInput func(ctx context.Context, callback queue.SubscribeFunction[*data.InputEngine]) error, pushQueueOutput func(ctx context.Context, input *data.OutputEngine) error)

func (ForkRule) Stop

func (f ForkRule) Stop(ctx context.Context) error

type Option

type Option struct {
	NextSuccess []string `json:"next_success"`
	Debug       bool     `json:"debug"`
}

Jump to

Keyboard shortcuts

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