ready

open suspend override fun ready()(source)

Notifies Agones that this instance is now ready to accept player connections. Once this state is set, the associated GameServer resource will be set to Ready, and the address and ports for accessing this instance will be populated and published. Before calling this method, the initialization of this instance must be fully completed.

According to the Agones Documentation, instances are preferred to be shut down and deleted after a game. However, if an instance needs to be reused (after being allocated), a server with this interface can also be reset to its initial state at any time to mark itself as Ready again.

See also