WithTimeout sets the [Executor]'s timeout for fetching remote taskfiles. By default, the timeout is set to 10 seconds.
(timeout time.Duration)
| 269 | // WithTimeout sets the [Executor]'s timeout for fetching remote taskfiles. By |
| 270 | // default, the timeout is set to 10 seconds. |
| 271 | func WithTimeout(timeout time.Duration) ExecutorOption { |
| 272 | return &timeoutOption{timeout} |
| 273 | } |
| 274 | |
| 275 | type timeoutOption struct { |
| 276 | timeout time.Duration |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…