DatasyncTime

enum DatasyncTime : Enum<DatasyncTime>

Represents a write-policy into the Webcom database.

It is used by the methods able to write some data: DatasyncNode.set, DatasyncNode.clear and DatasyncNode.merge.

Entries

Link copied to clipboard
OnDisconnection(jsWebcom.ServerlessDb.ON_DISCONNECTION)

This policy requests the Webcom back end to write the data at each network disconnection.

Link copied to clipboard
AtNextDisconnection(jsWebcom.ServerlessDb.NEXT_DISCONNECTION)

This policy requests the Webcom back end to write the data on the next network disconnection.

Link copied to clipboard
Now(jsWebcom.ServerlessDb.NOW)

This policy sends the data to write to the Webcom back end immediately, this is the default.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int