Skip to main content
Version: 5.x.x

getRealtimeDbBrowserMethods


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

Description

Defined in realtime/realtime.methods.ts:14

Preview

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

Parameters

NameDetails

request

Required

R

database

Required

Database

url

Required

string

onSuccess

Required

any

onError

Required

any

resolve

Required

any

events

Required

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

Returns

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