externalPerformActivities
Hierarchy
- Ability
- PerformActivities
Index
Constructors
Methods
Constructors
externalconstructor
Parameters
externalactor: AnswersQuestions & UsesAbilities & PerformsActivities & { name: string }
externalstage: EmitsDomainEvents
Returns PerformActivities
Methods
externalperform
Parameters
externalactivity: Activity
Returns Promise<void>
An
Ability
that enables anActor
to perform a givenActivity
.PerformActivities
is used internally byActor.attemptsTo
, 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.