AnswerQuestions
Hierarchy
- Ability
- AnswerQuestions
Index
Constructors
Methods
Constructors
constructor
Parameters
actor: AnswersQuestions & UsesAbilities
Returns AnswerQuestions
Methods
answer
Type parameters
- T
Parameters
answerable: Answerable<T>
Returns Promise<T>
This Ability enables an Actor to resolve the value of a given Answerable.
AnswerQuestions is used internally by Actor.answer, and it is unlikely you’ll ever need to use it directly in your code. That is, unless you’re building a custom Serenity/JS extension and want to override the default behaviour of the framework, in which case you should check out the Contributor’s Guide.