- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for WaitForConnect (0.93 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/grid/connection.go
} // WaitForConnect will block until a connection has been established or // the context is canceled, in which case the context error is returned. func (c *Connection) WaitForConnect(ctx context.Context) error { if debugPrint { fmt.Println(c.Local, "->", c.Remote, "WaitForConnect") defer fmt.Println(c.Local, "->", c.Remote, "WaitForConnect done") } c.connChange.L.Lock()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
internal/grid/grid_test.go
t.Log("2: server payload: ", len(payload), "bytes.") err := RemoteErr(payload) return nil, &err })) // local to remote remoteConn := local.Connection(remoteHost) remoteConn.WaitForConnect(t.Context()) defer testlogger.T.SetErrorTB(t)() t.Run("localToRemote", func(t *testing.T) { const testPayload = "Hello Grid World!" start := time.Now()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 36.1K bytes - Click Count (0)