Open zolkis opened 1 year ago
Currently internal slots for [[readHandlers]], [[writeHandlers]], etc. are a map from name to a handler function.
[[readHandlers]]
[[writeHandlers]]
Besides that function, the steps require saving |options| and other information as well. So the internal slots will need to contain an object like
dictionary HandlerData { required function handler; sequence<InteractionOptions> subscriberOptions; sequence<any> subscriberData; }
We could also add the |interaction| for convenience, but it can me retrieved using |name|.
Call 24/04/2023:
Call 15/05/2023
I can confirm that the current structure of the internal slot [[readHandlers]] is not the same as described above. My question is do we have evidence requiring the data contained in the updated dictionary?
Currently internal slots for
[[readHandlers]]
,[[writeHandlers]]
, etc. are a map from name to a handler function.Besides that function, the steps require saving |options| and other information as well. So the internal slots will need to contain an object like
We could also add the |interaction| for convenience, but it can me retrieved using |name|.