Better tending of the unsubscribe functions #68

Open
opened 2024-02-22 01:01:37 +00:00 by thepaperpilot · 1 comment
Collaborator

Give them a property (use a symbol) that letters get recursively checked for upon removal, to make sure the unsubscribe functions get called. Also check that all created unsubscribe functions were added to the layer during it's construction, similar to persistent refs

Give them a property (use a symbol) that letters get recursively checked for upon removal, to make sure the unsubscribe functions get called. Also check that all created unsubscribe functions were added to the layer during it's construction, similar to persistent refs
Author
Collaborator

Actually, if we're connecting them all during layer creation anyways, just assign a property to the layer with all of them automatically. Then the only error we'd need to give the Dev is if they create an unsubscribe function outside of any letter creation.

Actually, if we're connecting them all during layer creation anyways, just assign a property to the layer with all of them automatically. Then the only error we'd need to give the Dev is if they create an unsubscribe function outside of any letter creation.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: profectus/Profectus#68
No description provided.