Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/foxcpp/maddy
/ New
Function
New
framework/future/future.go:42–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
New() *Future {
43
return
&Future{notify: make(
chan
struct
{})}
44
}
45
46
// Set sets the Future (value, error) pair. All currently blocked and future
47
// Get calls will return it.
Callers
5
newSession
Method · 0.92
TestRequireMatchingRDNS
Function · 0.92
TestFuture_SetBeforeGet
Function · 0.70
TestFuture_Wait
Function · 0.70
TestFuture_WaitCtx
Function · 0.70
Calls
no outgoing calls
Tested by
4
TestRequireMatchingRDNS
Function · 0.74
TestFuture_SetBeforeGet
Function · 0.56
TestFuture_Wait
Function · 0.56
TestFuture_WaitCtx
Function · 0.56