MCPcopy Create free account
hub / github.com/NativeScript/firebase / setWithPriority

Method setWithPriority

packages/firebase-database/common.ts:48–48  ·  view source on GitHub ↗
(newVal: any, newPriority: string | number | null, onComplete?: undefined | ((error: FirebaseError | null) => void))

Source from the content-addressed store, hash-verified

46 set(value: any, onComplete?: undefined | ((error: FirebaseError | null) => void)): Promise<void>;
47 setPriority(priority: string | number | null, onComplete?: undefined | ((error: FirebaseError | null) => void)): Promise<void>;
48 setWithPriority(newVal: any, newPriority: string | number | null, onComplete?: undefined | ((error: FirebaseError | null) => void)): Promise<void>;
49 transaction(transactionUpdate: (currentData: object) => object | undefined, onComplete?: undefined | ((error: FirebaseError | null, committed: boolean, finalResult: IDataSnapshot) => void), applyLocally?: undefined | false | true): Promise<TransactionResult>;
50 update(values: { [key: string]: any }, onComplete?: undefined | ((error: FirebaseError | null) => void)): Promise<void>;
51}

Callers 2

setWithPriorityMethod · 0.65
setWithPriorityMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected