Kameleoon.Events.DataFileUpdateEvent (kameleoon_client v0.9.1)

Copy Markdown

An update of the SDK data file (configuration).

Delivered to the handler registered with Kameleoon.Client.set_event_handler(client, :datafile_update, handler).

Summary

Types

How the update reached the SDK

t()

Types

source()

@type source() :: :polling | :streaming

How the update reached the SDK:

  • :polling — periodic polling of the configuration.
  • :streaming — a real-time (streaming) notification.

t()

@type t() :: %Kameleoon.Events.DataFileUpdateEvent{
  date_modified: non_neg_integer(),
  source: source()
}