Get is a potentially blocking call, that returns the asynchronously computed value or an error If Get is called before Ready() returns True, then it will block till the future has been completed
(ctx context.Context)
| 14 | // Get is a potentially blocking call, that returns the asynchronously computed value or an error |
| 15 | // If Get is called before Ready() returns True, then it will block till the future has been completed |
| 16 | Get(ctx context.Context) (interface{}, error) |
| 17 | } |
| 18 | |
| 19 | // This is a synchronous future, where the values are available immediately on construction. This is used to maintain a synonymous API with both |
no outgoing calls