Has the scanner resolved, rejected, or been canceled. A scanner that settles during eager evaluation never subscribes to any events.
Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.
Optionalonfinally: () => void
The callback to execute when the Promise is settled (fulfilled or rejected).
A Promise for the completion of the callback.
Optionalreason: string | Errorscan listenable and resolve based on this.evaluator
Optionaloptions: SubscribeOptions
Scanner is resolved with value of this type