Fix EZP-21932: Missing API doc for PromiseCAPI
Documentation added.