[promise] Add API docs for Promise.cast