I think that's implementation dependent. We call it a "method," which generally implies it is attached to `promise`, although it doesn't necessarily have to be.