Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Conversation

davideast
Copy link
Owner

@davideast davideast commented Dec 29, 2016

Closes #16.

The Firebase SDK allows you to pass a callback to ensure when the operation has succeeded on the server. Querybase now mirrors this API.

const dbRef = firebase.database().ref('things');
const queryRef = querybase.ref(dbRef, ['a', 'b']);
queryRef.push('thing', error => {
  console.log('completed!');
});

@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.405% when pulling 8c37b76 on callbacks into 58b9678 on master.

@davideast davideast merged commit cd49bfa into master Dec 29, 2016
@davideast davideast deleted the callbacks branch December 29, 2016 20:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants