Skip to main content
Version: 5.x.x

getFirestoreBrowserMethods


import { getFirestoreBrowserMethods } from "@hyper-fetch/firebase"

Description

Defined in firestore/firestore.methods.ts:25

Preview

getFirestoreBrowserMethods<R>(request, database, url, onSuccess, onError, resolve, events)

Parameters

NameDetails

request

Required

R

database

Required

Firestore

url

Required

string

onSuccess

Required

any

onError

Required

any

resolve

Required

any

events

Required

{ onRequestEnd: any; onRequestStart: any; onResponseEnd: any; onResponseStart: any }

Returns

(methodName: FirestoreMethodsUnion, data: [object Object]) => Promise<void>