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

Function WithWorkerWatchMode

options.go:207–213  ·  view source on GitHub ↗

WithWorkerWatchMode sets directories to watch for file changes

(watch []string)

Source from the content-addressed store, hash-verified

205
206// WithWorkerWatchMode sets directories to watch for file changes
207func WithWorkerWatchMode(watch []string) WorkerOption {
208 return func(w *workerOpt) error {
209 w.watch = watch
210
211 return nil
212 }
213}
214
215// WithWorkerMaxFailures sets the maximum number of consecutive failures before panicking
216func WithWorkerMaxFailures(maxFailures int) WorkerOption {

Callers 5

runTestFunction · 0.92
ExampleServeHTTP_workersFunction · 0.92
StartMethod · 0.92

Calls

no outgoing calls

Tested by 4

runTestFunction · 0.74
ExampleServeHTTP_workersFunction · 0.74