the return value of the promise that this interaction evaluates to.
Return a description of the interaction
Perform the interaction
Attaches a callback for only the rejection of the Promise.
The callback to execute when the Promise is rejected.
A Promise for the completion of the callback.
Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
The callback to execute when the Promise is settled (fulfilled or rejected).
A Promise for the completion of the callback.
Attaches callbacks for the resolution and/or rejection of the Promise.
The callback to execute when the Promise is resolved.
The callback to execute when the Promise is rejected.
A Promise for the completion of which ever callback is executed.
Generated using TypeDoc
An interaction represents some type of action or assertion that can be taken on an Interactor.
The interaction can function as a lazy promise. That means that calling
then
on the interaction or awaiting it usingawait
, will run the interaction and the promise will resolve once the action is complete. However, an interaction which is not awaited will not run by itself.