MCPcopy Index your code
hub / github.com/NativeScript/firebase / once

Method once

packages/firebase-database/common.ts:28–28  ·  view source on GitHub ↗
(eventType: EventType, successCallback?: undefined | ((a: IDataSnapshot, b: string | null) => any), failureCallbackContext?: (a: Error) => void | Record<string, any> | null)

Source from the content-addressed store, hash-verified

26 off(eventType?: EventType, callback?: undefined | ((a: IDataSnapshot, b: string | null) => void), context?: Record<string, any>): void;
27 on(eventType: EventType, callback: (data: IDataSnapshot, previousChildKey: string | null) => void, cancelCallbackOrContext?: (a: Error) => void | Record<string, any> | null, context?: Record<string, any> | null): (a: IDataSnapshot | null, b: string | null) => void;
28 once(eventType: EventType, successCallback?: undefined | ((a: IDataSnapshot, b: string | null) => any), failureCallbackContext?: (a: Error) => void | Record<string, any> | null): Promise<IDataSnapshot>;
29 orderByChild(path: string): IQuery;
30 orderByKey(): IQuery;
31 orderByPriority(): IQuery;

Callers 8

registerFunction · 0.65
index.android.tsFile · 0.65
registerFunction · 0.65
index.android.tsFile · 0.65
requestPermissionMethod · 0.65
constructorMethod · 0.65
childrenMethod · 0.65
transactionMethod · 0.65

Implementers 3

Querypackages/firebase-database/index.andro
Querypackages/firebase-database/index.ios.t
Querypackages/firebase-database/index.d.ts

Calls

no outgoing calls

Tested by

no test coverage detected