Closed kobajagi closed 11 months ago
Helper that waits on async operation to complete.
Example usage:
op, err := client.Wait( context.Background(), func(ctx context.Context) (*oapi.Operation, error) { return client.Compute().LoadBalancers().Create(ctx, body) }, ) if err != nil { panic(err) } fmt.Println(*op.State, *op.Reference.Id)
This pull request has been linked to Shortcut Story #71885: Async operations helper.
Helper that waits on async operation to complete.
Example usage: