Meteor-Community-Packages / Meteor-Community-Packages/ground-db

How to get offline method callback?

Open
#140 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
569
Forks
77
PR merge metrics
No merged PRs in 30d

Description

consider this example:

```
Meteor.call 'doSomething', (err, suc) =>
if err
console.log 'error!'
else
console.log 'succes!'
```

When online this works fine. But when offline, there's never a callback. How to get success from Ground for a method call?

Contributor guide

Open the contributing guide

Research direction

The issue names Meteor.call and the doSomething callback but no source file or test. Start by tracing how GroundDB handles Meteor method calls while offline, then determine the expected callback behavior and add coverage showing what happens when the call completes offline.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.