Vibe.Subscription (vibe v0.2.3)

Copy Markdown View Source

Provider-neutral subscription/account usage registry.

Summary

Functions

account(name, opts \\ [])

@spec account(
  String.t() | atom(),
  keyword()
) :: {:ok, map()} | {:error, term()}

provider(name)

@spec provider(String.t() | atom()) :: module() | nil

providers()

@spec providers() :: %{required(String.t()) => module()}

usage(name, opts \\ [])

@spec usage(
  String.t() | atom(),
  keyword()
) :: {:ok, map()} | {:error, term()}