...

Source file src/edge-infra.dev/pkg/sds/display/displaymanager/waiter/waiter.go

Documentation: edge-infra.dev/pkg/sds/display/displaymanager/waiter

     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  

View as plain text