1 package waiter 2 3 import ( 4 "context" 5 ) 6 7 // A DisplayWaiter waits for the node's display manager server (e.g. X) 8 // to be running and for its events to have settled. 9 type DisplayWaiter interface { 10 // Wait() will wait until the connection to the display manager is ready, 11 // returning an error if a cannot be reached. 12 Wait(ctx context.Context) error 13 } 14