-
Hi all, My state object contains several channels that are only needed for a portion of the graph execution. After a certain node, some of these channels are no longer required, and I’d like to free up memory as soon as possible. Example: And my state looks like this:
Suppose after node A, or possibly setting it to Questions:
Thank you for any clarification you can provide! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ya if you want to clear then you return an update indicating it should be cleared . You can also write a custom reducer to accomplish this. |
Beta Was this translation helpful? Give feedback.
Ya if you want to clear then you return an update indicating it should be cleared . You can also write a custom reducer to accomplish this.