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

Method onSuccess

packages/firebase-functions/index.android.ts:170–172  ·  view source on GitHub ↗
(result: com.google.firebase.functions.HttpsCallableResult)

Source from the content-addressed store, hash-verified

168 data ? serialize(data, true) : null,
169 new org.nativescript.firebase.functions.FirebaseFunctions.Callback<com.google.firebase.functions.HttpsCallableResult>({
170 onSuccess(result: com.google.firebase.functions.HttpsCallableResult): void {
171 resolve(deserialize(result?.getData?.()));
172 },
173 onError(error): void {
174 reject(toHttpsError(error));
175 },

Callers

nothing calls this directly

Calls 1

deserializeFunction · 0.90

Tested by

no test coverage detected