Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Add optional callback description on sync method #367

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from

Conversation

jpdemagalhaes
Copy link
Contributor

@jpdemagalhaes jpdemagalhaes commented Jul 12, 2019

The sync method also accepts an optional callback (just as the attach method), but there wasn't any indicators of this possibility on the docs, hence, this PR.

This adds a description and an example on the docs, hopefully, giving devs more clarity on what's available 😄

@jpdemagalhaes
Copy link
Contributor Author

@RomainLanz any chance you can merge this one?

Or is there anything else to be done on this PR?

@victorLessa
Copy link

Does this callback return the array index as a parameter too?

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