externalWaitUntil <Actual>
Hierarchy
- Interaction
- WaitUntil
Index
Constructors
Methods
Constructors
externalconstructor
Type parameters
- Actual
Parameters
externalactual: Answerable<Actual>
externalexpectation: Expectation<Actual>
externalpollingInterval: Duration
externaloptionaltimeout: Duration
Returns WaitUntil<Actual>
Methods
externalinstantiationLocation
Returns the location where this
Activity
was instantiated.Returns FileSystemLocation
externaldescribedBy
Resolves the description of this object in the context of the provided
actor
.Parameters
externalactor: AnswersQuestions & UsesAbilities & { name: string }
Returns Promise<string>
externaltoString
Returns a human-readable description of this object.
Returns string
externalpollingEvery
Configure how frequently the
Actor
should check if the answer meets the expectation.Note that the polling interval defines the delay between subsequent attempts to evaluate the expected value, and doesn't include the amount of time it take the actor to evaluate the value itself.
Parameters
externalinterval: Duration
Returns Interaction
externalperformAs
Instructs the provided
Actor
to perform thisInteraction
.Learn more
Parameters
externalactor: UsesAbilities & AnswersQuestions
Returns Promise<void>
Synchronisation statement that instructs the
Actor
to wait before proceeding until a givenExpectation
is met.To instantiate the interaction to
WaitUntil
, use the factory methodWait.until
.Learn more
Wait.until