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)

Link to this callback

destroy_server(arg1)

destroy_server(String.t() | pid()) ::
  {:ok, Illithid.Models.Server.t()} | {:error, String.t() | :no_running_server}
Link to this callback

server_alive?(pid)

server_alive?(pid()) :: boolean()