Skip to content
Craig Fowler edited this page Feb 21, 2018 · 3 revisions

WritingTasks

Home

Tasks

  • Tasks compose actions, questions and other tasks
  • They should take all of their parameters in their constructor
  • Tasks should have no external dependencies, that's for actions and questions
  • Use builder pattern to construct them using natural language
  • Tasks may return a value, turning them into pseudo-questions