common

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DedicatedWorkerOptions

type DedicatedWorkerOptions struct {
	TaskQueue string
	Options   sdkworker.Options
}

type WorkerComponent

type WorkerComponent interface {
	// Register registers Workflow and Activity types provided by this worker component
	Register(sdkworker.Worker)
	// DedicatedWorkerOptions returns a DedicatedWorkerOptions for this worker component. Return nil to use
	// default worker instance.
	DedicatedWorkerOptions() *DedicatedWorkerOptions
}

WorkerComponent represent a type of work needed for worker role

Jump to

Keyboard shortcuts

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