Vik.Authority.Update (Vik v0.0.1-rc1)

View Source

JSON payload consisting of changes to a CodeMirror document. The contents of these updates is seen as irrelevant to the authority.

The Vik.Authority simply passes them along to the concerning CodeMirror instances for further processing.

Summary

Types

t()

@type t() :: %Vik.Authority.Update{
  changes: [term()] | nil,
  client_id: String.t() | nil,
  effects: [term()] | nil
}