mutableSite
Creates a new MutableSite for the provided SiteIdentifier, with a backing history. The current model value of the site will always be Unit, since it does not perform aggregations.
Parameters
the globally unique identifier for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the events managed by this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing log. Additionally, this overload takes a OneWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the MutableHistory backing the site.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing log. Additionally, this overload takes a OneWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the initial value for the projection aggregate.
the OneWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing log. Additionally, this overload takes a TwoWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the initial value for the projection aggregate.
the TwoWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the changes generated by this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing mutable history. Additionally, this overload takes a OneWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the MutableHistory backing the site.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the backing model for this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing mutable history. Additionally, this overload takes a OneWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the initial value for the projection aggregate.
the OneWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the backing model for this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing mutable history. Additionally, this overload takes a TwoWayProjection and lets you specify a projection to apply to the data, to have custom MutableSite.event arguments.
Parameters
the globally unique identifier for this Site.
the initial value for the projection aggregate.
the TwoWayProjection for this Site.
some initial events to populate the history.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the changes generated by this Site.
the type of the backing model for this Site.
Creates a new MutableSite for the provided SiteIdentifier, with a backing mutable history.
Parameters
the globally unique identifier for this Site.
the underlying MutableHistory.
the KSerializer for the events.
the binary format to use.
the SyncStrategy that's applied. Defaults to SyncStrategy.Continuous.
the type of the model for this Site.
the type of the events managed by this Site.
the type of the backing model for this Site.