[promise] Build promise module