ThenableReference interface

push()返回时也可以作为DatabaseReferencePromise .该引用立即可用,并且随着对后端的写入完成, Promise将解析。

签名:

export declare interface ThenableReference extends DatabaseReference, Pick<Promise<DatabaseReference>, 'then' | 'catch'> 

扩展:数据库参考, Pick<Promise<数据库参考>, '那么' | '抓住'>