Instance Property

synchronization

The entity’s synchronization component.

Declaration

var synchronization: SynchronizationComponent? { get set }

See Also

Synchronizing an Entity Among Peers

struct SynchronizationComponent

A component that synchronizes an entity between processes and networked applications.

var isOwner: Bool

A Boolean that indicates whether the calling process owns the entity.

func withUnsynchronized(() -> Void)

Calls the given closure in a way such that component changes that the closure makes don’t trigger synchronization.

protocol HasSynchronization

An interface that enables an entity to be synchronized between processes and networked applications.