Callback to call when the promise resolves, or null if not provided
Set when the Waiter's promise has either resolved or rejected
whether or not this waiter is ready to process
True if the promise rejected
True if the promise resolved successfully
The resolved value, or the error that was raised on rejection
Called when the waiter is ready, and processed by its owning @tapjs/core!test-base.TestBase
Basically a fancy Deferred, wrapped around an existing promise, used by the @tapjs/core!test-base.TestBase#waitOn method, and tracked in the @tapjs/core!test-base.TestBase#queue.
The callback function is called when it's been either resolved or rejected. The Waiter internal promise is resolved if the wrapped promise matches our expectation. The value member is the resolved value or rejection error.