Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/go-redis
/ isOngoing
Method
isOngoing
internal/pool/want_conn.go:60–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
58
}
59
60
func
(w *wantConn) isOngoing() bool {
61
w.mu.RLock()
62
defer
w.mu.RUnlock()
63
return
!w.done
64
}
65
66
type
wantConnResult
struct
{
67
cn *Conn
Callers
5
TestWantConn_tryDeliver_Success
Function · 0.95
TestWantConn_cancel_NotDone
Function · 0.95
TestWantConn_cancel_AlreadyDone
Function · 0.95
TestWantConn_RaceConditionNilContext
Function · 0.95
discardDoneAtFront
Method · 0.80
Calls
no outgoing calls
Tested by
4
TestWantConn_tryDeliver_Success
Function · 0.76
TestWantConn_cancel_NotDone
Function · 0.76
TestWantConn_cancel_AlreadyDone
Function · 0.76
TestWantConn_RaceConditionNilContext
Function · 0.76