View Source Electric.Replication.PublicationManager behaviour (electric v1.0.1)

Summary

Callbacks

@callback add_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok
@callback name(binary() | Keyword.t()) :: atom()
@callback recover_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok
@callback refresh_publication(Keyword.t()) :: :ok
@callback remove_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok

Functions

Link to this function

add_shape(shape, opts \\ [])

View Source
@spec add_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

recover_shape(shape, opts \\ [])

View Source
@spec recover_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok
Link to this function

refresh_publication(opts \\ [])

View Source
@spec refresh_publication(Keyword.t()) :: :ok
Link to this function

remove_shape(shape, opts \\ [])

View Source
@spec remove_shape(Electric.Shapes.Shape.t(), Keyword.t()) :: :ok