runner

package
v0.0.0-...-98a074b Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(quota int) concurrency.Runner

Creates new concurrency Runner with specified quota on the maximum number of concurrently running functions. Returns concurrency.Runner interface The "quota" argument is in range [1..math.MaxInt32] if specified value is outside of this range the quota falls back to the number of CPU cores, as runtime.GOMAXPROCS(0)

Types

This section is empty.

Jump to

Keyboard shortcuts

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