I'm trying to do a submitDelta from my gadget with contents such as:
submitDelta({'foostate': 'foovalue', 'barstate': 'barvalue',
'mumblestate': 'mumblevalue'})

My robot is receiving document changed events.

What I'm seeing is that I'll get a document changed event with the
first mapping above and then a short period later another document
changed event that includes all the mappings from the submitDelta.

It seems that the submitDelta doesn't set all the mappings in any
atomic sense.

What *are* the semantics of this operation?
Is that why some developers do something like {'statedata':
encode_with_json(<my bunch of data>)}

What I'd like to see:
- submitDelta as an atomic operation on all the mappings at once.
- the capability for the values in the key/value mappings to be
complex data (arrays and dictionaries essentially).

Thanks for further clarification,
Joel

--

You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.


Reply via email to