I'm looking into custom context storage and for that, one needs to implement an interface described here.
I'm wondering when are ContextStore.delete
and ContextStore.clean
actually called so I can reproduce and test this.
I'm looking into custom context storage and for that, one needs to implement an interface described here.
I'm wondering when are ContextStore.delete
and ContextStore.clean
actually called so I can reproduce and test this.
Clean is called when new flows are deployed - it allows the store to clean up any context records for nodes/flows no longer present.
Delete is called when a user deletes a context object - can be triggered by the context sidebar in the editor.
This I can confirm, ty.
In the sidebar I only found a way to delete individual keys but that is calling ContextStore.set
with undefined
value in the background.
I haven't seem to be able to delete whole flow
context for example from that sidebar.