Replies: 4 comments
-
Provide an API at executor level
ProblemsHow to pass API down to operator?It's not clear how to pass something from executor to an operator since operators have very limited API in the form of How to update program?I can see 2 directions for now:
Solution 2 sounds obviously better, but solution 1 is what matches with the interface above. Solution 2 in order to be implemented must involve update API for both network manager and effector |
Beta Was this translation helpful? Give feedback.
-
React-like updateJust a though - maybe it could be useful to look at react's virtual dom, how it compares diffs and updates only what's needed |
Beta Was this translation helpful? Give feedback.
-
Possible set of commands
UPD: I don't see a reason of introducing a "node" abstraction to implement all this UPD2: We can use such API to update program while debugging Insert operator problemHow to add new operator if a program is compiled and we not use pluigns? |
Beta Was this translation helpful? Give feedback.
-
Go's context?All |
Beta Was this translation helpful? Give feedback.
-
Operator that accepts message of some form (the API must be designed) it that can (in some magic way) update the program structure. Possible messages are:
This could be used for HMR (think about how can we not loose the "state")
This means runtime (or at least that operator) must have some knowledge about component's level abstractions
Problem
Runtime doesn't know anything about components and their content (say network, subnodes, etc)
Should we support anything that envolves knoledge about compiler
Related to #154 #118 #36 and #90 #160 #159
Beta Was this translation helpful? Give feedback.
All reactions