Encode a call expecting no reply.
params is positional here too, including for the event notification the viewer pushes — ['dimensions-changed', payload], not {name, payload} — so encode and decode obey one rule rather than two.
params
event
['dimensions-changed', payload]
{name, payload}
Encode a call expecting no reply.
paramsis positional here too, including for theeventnotification the viewer pushes —['dimensions-changed', payload], not{name, payload}— so encode and decode obey one rule rather than two.