Yggdrasil.Adapter.__using__

You're seeing just the macro __using__, go back to Yggdrasil.Adapter module for more information.
Link to this macro

__using__(options)

View Source (macro)

Macro for using Yggdrasil.Adapter.

The following are the available options:

  • :name - Name of the adapter. Must be an atom.
  • :transformer - Default transformer module or alias. Defaults to :default
  • :backend - Default backend module or alias. Defaults to :default.
  • :subscriber - Subscriber module. Defaults to Yggdrasil.Subscriber.Adapter.<NAME> where <NAME> is the last part of the current module name e.g. the <NAME> for Yggdrasil.MyAdapter would be MyAdapter. If the module does not exist, then defaults to :elixir.
  • :publisher - Publisher module. Defaults to Yggdrasil.Publisher.Adapter.<NAME> where <NAME> is the last part of the current module name e.g. the <NAME> for Yggdrasil.MyAdapter would be MyAdapter. If the module does not exist, then defaults to :elixir.