DatasyncTime
public enum DatasyncTime : Equatable
A value indicating the time at which to perform an operation
-
Indicates to perform the operation without waiting.
This is the default value for all operations taking a parameter of this type.
Declaration
Swift
case now
-
Indicates to perform the operation when the web socket with the back-end is closed.
When using this value, the operation is sent to the back-end which register it. If this value is used for a second operation before a disconnection, the first operation is cancelled and only the second is taken into account by the back-end.
Declaration
Swift
case nextDisconnection
-
This policy requests the Webcom back end to write the data at each network disconnection.
By difference with
AtNextDisconnection
the request(s) executed withOnDisconnection
policy will be replayed at each disconnection.Declaration
Swift
case onDisconnection