add comment for improvements

This commit is contained in:
Jose Garcia 2021-08-27 12:53:27 -04:00
parent da8655209b
commit 2cc91c224e

View file

@ -62,6 +62,7 @@ type logger interface {
Println(v ...interface{}) (int, error)
}
// TODO(josebalius): we should move some of this to the liveshare.Connection struct
func connectionReady(codespace *api.Codespace) bool {
ready := codespace.Environment.Connection.SessionID != ""
ready = ready && codespace.Environment.Connection.SessionToken != ""