Electric.Connection.Manager.State (electric v1.5.1)

Copy Markdown View Source

Summary

Types

phase()

@type phase() :: :connection_setup | :running

step()

@type step() ::
  {:start_admin_pool, nil}
  | {:start_admin_pool, :connecting}
  | {:start_replication_client, nil}
  | {:start_replication_client, :acquiring_lock}
  | {:start_replication_client, :connecting}
  | {:start_replication_client, :configuring_connection}
  | {:start_snapshot_pool, nil}
  | {:start_snapshot_pool, :connecting}
  | :start_shapes_supervisor
  | {:start_replication_client, :start_streaming}
  | :waiting_for_streaming_confirmation
  | :streaming