legacy-docs icon indicating copy to clipboard operation
legacy-docs copied to clipboard

Add optional callback description on sync method

Open jpdemagalhaes opened this issue 5 years ago • 2 comments

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 avatar Jul 12 '19 17:07 jpdemagalhaes

@RomainLanz any chance you can merge this one?

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

jpdemagalhaes avatar Jan 23 '20 19:01 jpdemagalhaes

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

victorLessa avatar Aug 25 '21 12:08 victorLessa