Xmtp.Resolver
(xmtp_elixir_sdk v0.1.2)
Copy Markdown
Shared wallet and inbox resolver with bounded caching.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
Functions
@spec can_message?( GenServer.server(), XmtpElixirSdk.Client.t() | XmtpElixirSdk.Runtime.t() | atom(), String.t() ) :: {:ok, boolean()} | {:error, term()}
@spec child_spec(keyword()) :: Supervisor.child_spec()
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec find_or_create_dm_target( GenServer.server(), XmtpElixirSdk.Client.t() | XmtpElixirSdk.Runtime.t() | atom(), target() ) :: {:ok, result()} | {:error, term()}
@spec resolve_for_room_invite( GenServer.server(), XmtpElixirSdk.Client.t() | XmtpElixirSdk.Runtime.t() | atom(), target() ) :: {:ok, result()} | {:error, term()}
@spec resolve_wallet( GenServer.server(), XmtpElixirSdk.Client.t() | XmtpElixirSdk.Runtime.t() | atom(), String.t() ) :: {:ok, result()} | {:error, term()}
@spec start_link(keyword()) :: GenServer.on_start()