package waiter import ( "context" ) // A DisplayWaiter waits for the node's display manager server (e.g. X) // to be running and for its events to have settled. type DisplayWaiter interface { // Wait() will wait until the connection to the display manager is ready, // returning an error if a cannot be reached. Wait(ctx context.Context) error }