illithid v0.1.0 Illithid.ServerManager.ServerHostBehaviour behaviour
Contract for server hosts.
Link to this section Summary
Link to this section Callbacks
Link to this callback
create_server(arg1)
create_server(Illithid.Models.ServerCreationContext.t()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t()}
Link to this callback
destroy_server(arg1)
destroy_server(String.t() | pid()) :: {:ok, Illithid.Models.Server.t()} | {:error, String.t() | :no_running_server}