Skip to content

Dynamic Avrora private clients #145

@Strech

Description

@Strech

It would be cool to have interface where we could stay compile-time for core modules, but start them dynamically with a supervision.

By default we start under :default or :avrora key more dynamic avrora clients could be added with their own configurations.

The interface should allow calls like

Avrora.decode("...")
Avrora.decode(pid(), "...")

defmodule MyClient do
  use Avrora.DymanicClient, name: :my_client
end

MyClient.decode("...")
# or
Avrora.decode(:my_client, "...")

Maybe we can leverage Elixir's Registry + DynamicSuperviser

Metadata

Metadata

Assignees

No one assigned

    Labels

    client APIAnything related to the client API and its qualityenhancementImprovement of existing functionality or request of improvementinternal APIAnything related to the internal API and implementations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions