jobqueueoptions

package
v0.70.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package jobqueueoptions shares option parsing between public and runtime adapters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Delay  *time.Duration
	Key    *string
	Kwargs map[string]value.Value
}

Options is the internal representation of parsed enqueue options.

func Parse

func Parse(name string, kwargs map[string]value.Value, budget *capabilitydata.Budget, cloner *capabilitydata.Cloner, validate bool) (Options, error)

Parse retains delay/key checks and clones extra options with the request's memo. The validated mode permits runtime values already checked by the caller.

Jump to

Keyboard shortcuts

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