mem_workflow

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

func NewWorker

func NewWorker(actSvc service.Activity, notSvc service.Notification, c chan workflow.ExecutionInput, opts ...WorkerOpt) *Worker

func (*Worker) Close

func (m *Worker) Close(ctx context.Context) error

func (*Worker) RunningTasks

func (w *Worker) RunningTasks() uint32

func (*Worker) Start

func (m *Worker) Start(ctx context.Context) error

type WorkerOpt added in v0.0.8

type WorkerOpt func(*Worker)

func WithLogLevel added in v0.0.8

func WithLogLevel(lvl zerolog.Level) WorkerOpt

Jump to

Keyboard shortcuts

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