RSS Feed/News Can't force whenSaveable to run after save

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
29,960
Points
823

Reputation:

Sometimes it is useful to run code after an entity has been saved depending of the state of the entity before saving.

There already is method whenSaveable() that allows to do so if called while a write is already taking place - but it is not (nicely) possible to force the callback to be executed after the entity is saved.

Could the method get a parameter to force running the callback after save?

Continue reading...
 
Status
Not open for further replies.
Top