code: func (p *Pod) WaitReady(ctx context.Context) error {
  	f := func() bool {
  		if err := p.refreshState(); err != nil {
  			return false
  		}
  
  		return p.IsSupervisorReady()
  	}
  
  	return retry(ctx, f, 100*time.Millisecond)
  }
docs: // WaitReady blocks until the pod is ready by polling the readiness state every 100 milliseconds
  // or until the given context is cancelled. This method refreshes the pod state.