0
據我所知,出於某種原因FB使用它自己的承諾實施,而不是ES6標準。混合firebase承諾與ES6承諾
混合FB和ES6的承諾是否可行/安全?例如在一個'然後'鏈?
let p1=firebase.auth().signInWithEmailAndPassword(email, password);
let p2=new Promise(...
p1.then(ps).then(// ?? is this ok ?
thx!
應該工作。你有問題嗎? –