SharedModel.with_back_end


Description:

[ 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.

Parameters:

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 back_end is transfered to the shared model.

Returns:

a new SharedModel




2022 vala-language.org