We keep adding more complexity by handling callback array for each feature individually. We also dont support multiple callbacks (as in js version) for many features like WaitForState which just has one global callback holder?
Can we abstract away the callback system such that:
a callback handler is stored in a global dictionary against a random id
the id is the thing sent to jslib
the jslib sends data back along with callback id
we retrieve the handler back from global dict and route to the right id.
What do you want to see?
We keep adding more complexity by handling callback array for each feature individually. We also dont support multiple callbacks (as in js version) for many features like WaitForState which just has one global callback holder?
Can we abstract away the callback system such that:
Link to original discussion
No response