[ CCode ( has_construct_function = false , type = "DeeModel*" ) ]
public SharedModel.with_back_end (string name, owned Model back_end)
Create a new shared model storing all data in back_end
.
The model will start synchronizing with peer models as soon as possible and the synchronized property will be set once finished.
name |
A well known name to publish this model under. Models sharing this name will synchronize with each other |
back_end |
The Model that will actually store the model data. Ownership of the ref to |
a new SharedModel |