RunForever stops when the context is canceled or when the process receives a supported shutdown signal.
Parameters
context.Context
required
The context controlling the runner lifetime.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
if err := runner.RunForever(ctx); err != nil {
return err
}
func (*TaskRunner) RunForever(ctx context.Context) error
RunForever stops when the context is canceled or when the process receives a supported shutdown signal.
if err := runner.RunForever(ctx); err != nil {
return err
}
Was this page helpful?