WithPrompt configure a UI component for Compose service to interact with user and confirm actions
(prompt Prompt)
| 146 | |
| 147 | // WithPrompt configure a UI component for Compose service to interact with user and confirm actions |
| 148 | func WithPrompt(prompt Prompt) Option { |
| 149 | return func(s *composeService) error { |
| 150 | s.prompt = prompt |
| 151 | return nil |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | // WithMaxConcurrency defines upper limit for concurrent operations against engine API |
| 156 | func WithMaxConcurrency(maxConcurrency int) Option { |
no outgoing calls
no test coverage detected