Electric.Shapes.Consumer (electric v1.0.20)

View Source

Summary

Types

log_state()

@type log_state() :: %{
  current_chunk_byte_size: non_neg_integer(),
  current_txn_bytes: non_neg_integer()
}

Functions

initial_state(consumer)

name(map)

name(stack_id, shape_handle)

start_link(config)

whereis(stack_id, shape_handle)

@spec whereis(String.t(), Electric.ShapeCache.shape_handle()) :: pid() | nil