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
}
workflows
TaskRunner.RunForever
if err := runner.RunForever(ctx); err != nil {
return err
}
Was this page helpful?