WithSessionExecutor injects the runtime session bridge used by later task-run lifecycle operations.
(sessions SessionExecutor)
| 140 | // WithSessionExecutor injects the runtime session bridge used by later |
| 141 | // task-run lifecycle operations. |
| 142 | func WithSessionExecutor(sessions SessionExecutor) Option { |
| 143 | return func(opts *managerOptions) { |
| 144 | opts.sessions = sessions |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | // WithRuntimeViewReader injects optional session telemetry enrichment for task live reads. |
| 149 | func WithRuntimeViewReader(reader RuntimeViewReader) Option { |
no outgoing calls