yggdrasil v3.0.2 Yggdrasil.VirtualAdapter behaviour

Behaviour to implement virtual adapters that serve as both subscribing/unsubscribing and publishing.

Summary

Callbacks

Callback to return the module for subscribing/unsubscribing

Callback to return the module for publishing

Callbacks

get_client_adapter()
get_client_adapter() :: {:ok, module} | {:error, term}

Callback to return the module for subscribing/unsubscribing.

get_server_adapter()
get_server_adapter() :: {:ok, module} | {:error, term}

Callback to return the module for publishing.