Exd v0.1.21 Exd.Sink.Adapter behaviour View Source

Adapter for source implementations

Link to this section Summary

Types

State of source

State of source

State of source

State of source

State of source

Callbacks

Initializes the state of the source

Initializes the state of the source

Link to this section Types

State of source

Link to this type context() View Source
context() :: [map()]

State of source

State of source

Link to this type documents() View Source
documents() :: [map()]

State of source

State of source

Link to this section Callbacks

Link to this callback handle_into(documents, state) View Source
handle_into(documents(), state()) :: {:ok, state()} | :error

Initializes the state of the source

Link to this callback init(config) View Source
init(config()) :: {:ok, state()}

Initializes the state of the source