firebase / firebase/geofire-js

Missing `once` or `get` and determination when search finished

Open
#257 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.4k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

You provide method `on` that tracks changes in real time, but I am interested to do search on static data once and determine when all children are added. In Realtime database it is done following way: `.once('child_added', (v, nextKey) =>{ if (nextKey === null) allDataLoaded() }`

Contributor guide

Open the contributing guide

Research direction

Start with the existing `on` method and the GeoFire query/listener API, then compare their behavior with Firebase Realtime Database's `once('child_added')` pattern described in the issue. Done means a static-data search can expose when all matching children have been added, with the API behavior and completion condition clearly defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase, typescript
Domain
api, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.