MCPcopy Index your code
hub / github.com/php/frankenphp / WithMaxThreads

Function WithMaxThreads

options.go:73–79  ·  view source on GitHub ↗
(maxThreads int)

Source from the content-addressed store, hash-verified

71}
72
73func WithMaxThreads(maxThreads int) Option {
74 return func(o *opt) error {
75 o.maxThreads = maxThreads
76
77 return nil
78 }
79}
80
81func WithMetrics(m Metrics) Option {
82 return func(o *opt) error {

Calls

no outgoing calls