Skip to content

Only remove rows if deleteRowCallback doesn’t return false#237

Open
SimonSimCity wants to merge 2 commits intoiamisti:masterfrom
SimonSimCity:removeRowsIfCallbackDoesntReturnFalse
Open

Only remove rows if deleteRowCallback doesn’t return false#237
SimonSimCity wants to merge 2 commits intoiamisti:masterfrom
SimonSimCity:removeRowsIfCallbackDoesntReturnFalse

Conversation

@SimonSimCity
Copy link

@SimonSimCity SimonSimCity commented Nov 17, 2016

Fixes #235


This change is Reviewable

Copy link

@malkomich malkomich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use a promise to make some stuff asynchronously before check if deletion can be done. For example, if you want to delete from DB before removing the table entry, and when the deletion promise is well resolved you want the entry to be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants