static

package
v0.3.0-20260715214702-... Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

Static Dependency Limit

The static dependencylimit.DependencyLimit is constructed with a single integer and returns it, unchanged, from every call to Limit. It never errors and never consults any external signal — the simplest possible dependency limit, useful for wiring tests, local development, and any queue whose eligibility bound is a fixed operational constant rather than one derived from live capacity or other signals.

Documentation

Overview

Package static provides a dependencylimit.DependencyLimit that always returns a fixed, construction-time value.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New returns a dependencylimit.DependencyLimit whose Limit always returns limit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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