Skip to content

How to enable strategy for specific task templates #399

Closed Answered by stevearc
bszzzz asked this question in Q&A
Discussion options

You must be logged in to vote

When I first added the concept of a Strategy I thought that it would mainly be something the user configures once and never looks at again; I didn't foresee it becoming something that people would want to change on a per-task basis. Nonetheless, I believe that this should currently be possible, though it is not documented. The docs for template have a builder function that returns a task definition. That definition includes things like cmd, args, and components. It is not listed, but I think that if you also add a strategy, that should work as expected.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bszzzz
Comment options

Answer selected by bszzzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants