View Source SmartCity.DataWriteComplete (smart_city v6.0.0)

Defines a data persisted event.

Link to this section Summary

Functions

Instantiates an instance of a data write complete event struct.

Link to this section Types

@type id() :: String.t()
@type t() :: %SmartCity.DataWriteComplete{id: id(), timestamp: timestamp()}
@type timestamp() :: DateTime.t()

Link to this section Functions

@spec new(String.t() | map()) :: {:ok, map()} | {:error, String.t()}

Instantiates an instance of a data write complete event struct.