Disable afterUpdate event

Hello,

is it possible to disable/deactivate the afterUpdate event until all actions are finished?
Reason: I’ve a large table and when i delete all rows after x seconds i get a javasrcipt runtime error. I saw that afterUpdate comes every row and i think i get more speed when afterUpdate comes only all rows are deleted.

Regards, Carsten

you can use onAfterUpdateFinish event, which will fire one time, after all separate updates processed.

Should i only

return false;

in this event?

you need not put any logic in the afterUpdate , or just have in it “return true;”
all your logic must be moved to the onAfterUpdateFinish event