Electric.Shapes.Consumer (electric v1.0.24)

View Source

Summary

Types

log_state()

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

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

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