To mitigate possible doc overload from many implementations: have a static "of" method on each interface that returns a reasonable default implementation. E.g. AddWinsSet for non-Crdt types; restorable (non-GCing) YjsCrdtSet for Crdt types, using the Crdt constructor itself as the valueConstructor.
I think this should be possible by declaring e.g.
To mitigate possible doc overload from many implementations: have a static "of" method on each interface that returns a reasonable default implementation. E.g. AddWinsSet for non-Crdt types; restorable (non-GCing) YjsCrdtSet for Crdt types, using the Crdt constructor itself as the valueConstructor. I think this should be possible by declaring e.g.
in addition the CSet interface.
Originally posted by @mweidner037 in https://github.com/composablesys/compoventuals/issues/102#issuecomment-881013674