MCPcopy Index your code
hub / github.com/foxcpp/maddy / Get

Method Get

framework/future/future.go:70–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68}
69
70func (f *Future) Get() (interface{}, error) {
71 if f == nil {
72 panic("nil future used")
73 }
74
75 return f.GetContext(context.Background())
76}
77
78func (f *Future) GetContext(ctx context.Context) (interface{}, error) {
79 if f == nil {

Callers 2

TestFuture_SetBeforeGetFunction · 0.45
TestFuture_WaitFunction · 0.45

Calls 1

GetContextMethod · 0.95

Tested by 2

TestFuture_SetBeforeGetFunction · 0.36
TestFuture_WaitFunction · 0.36