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