View Source Electric.Shapes.Consumer (electric v0.9.5)

Summary

Types

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

Functions

Link to this function

handle_call(arg1, from, state)

View Source

Callback implementation for GenStage.handle_call/3.

Callback implementation for GenStage.handle_cast/2.

Link to this function

handle_events(txns, from, state)

View Source

Callback implementation for GenStage.handle_events/3.

Callback implementation for GenStage.init/1.

Link to this function

name(stack_id, shape_handle)

View Source
Link to this function

terminate(reason, state)

View Source

Callback implementation for GenStage.terminate/2.

Link to this function

whereis(stack_id, shape_handle)

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