协作应用中的For-Each操作
For-Each Operations in Collaborative Apps
AI总结:
本文提出了一种新型CRDT操作for-each,可对列表中包括并发插入在内的所有元素应用修改,有效保留用户意图,并展示了其在富文本、食谱和幻灯片编辑器中的应用。
摘要:
无冲突复制数据类型(CRDTs)允许协作访问应用的数据。我们描述了一种新型CRDT操作,即对CRDT列表进行for-each操作,并展示了其在协作应用中的用途。我们的for-each操作将给定的修改应用于列表的每个元素,包括并发插入的元素。这通常能保留用户意图,否则将需要定制的CRDT算法。我们给出了for-each操作在协作富文本、食谱和幻灯片编辑器中的应用示例。
英文摘要:
Conflict-free Replicated Data Types (CRDTs) allow collaborative access to an app's data. We describe a novel CRDT operation, for-each on the list of CRDTs, and demonstrate its use in collaborative apps. Our for-each operation applies a given mutation to each element of a list, including elements inserted concurrently. This often preserves user intention in a way that would otherwise require custom CRDT algorithms. We give example applications of our for-each operation to collaborative rich-text, recipe, and slideshow editors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。