DBConnection.Ownership.ownership_allow

You're seeing just the function ownership_allow, go back to DBConnection.Ownership module for more information.
Link to this function

ownership_allow(manager, owner, allow, opts)

View Source

Specs

ownership_allow(
  GenServer.server(),
  owner_or_allowed :: pid(),
  allow :: pid(),
  Keyword.t()
) :: :ok | {:already, :owner | :allowed} | :not_found

Allows the process given by allow to use the connection checked out by owner_or_allowed.

It may return :ok if the connection is checked out. {:already, :owner | :allowed} if the allow process already has a connection. owner_or_allowed may either be the owner or any other allowed process. Returns :not_found if the given process does not have any connection checked out.