yggdrasil v2.0.0 Yggdrasil.Adapter.Postgres

Yggdrasil adapter for Postgres.

Summary

Functions

Starts the adapter. Receives an Yggdrasil.Channel that contains the decoder module and the name of the channel; the publisher PID, and a list of options

Stops the adapter using the server pid and a reason. By default, reason is :normal

Functions

start_link(channel, publisher, options \\ [])

Starts the adapter. Receives an Yggdrasil.Channel that contains the decoder module and the name of the channel; the publisher PID, and a list of options.

stop(pid, reason \\ :normal)

Stops the adapter using the server pid and a reason. By default, reason is :normal.