I have an abstraction that uses a table to store sequences that I'm saving and loading via [u_dispatch] objects. I ran into an issue where I need to know when the state is being saved but before the actual "save" message is sent out in order to dump the contents of the table into [u_dispatch]. Otherwise, it's too late to dump the table by the time the "save" message is received.
I'd like to propose adding a "prepare" message to RJ_SCENE_SAVE and sending out just before sending the "save" message. I'm doing the following and the is working well:
[ prepare, save <
|
[ s RJ_SCENE_SAVE ]
I have an abstraction that uses a table to store sequences that I'm saving and loading via [u_dispatch] objects. I ran into an issue where I need to know when the state is being saved but before the actual "save" message is sent out in order to dump the contents of the table into [u_dispatch]. Otherwise, it's too late to dump the table by the time the "save" message is received.
I'd like to propose adding a "prepare" message to RJ_SCENE_SAVE and sending out just before sending the "save" message. I'm doing the following and the is working well: