I think it would be nice to have something like WaitContext(ctx context.Context) (err error)
in client.Operation
interface.
Sounds like it could be useful indeed. Are you wanting to open a pull-request to add it?
I’m not sure since I’m not familiar with LXD codebase
but would this do?
If it does, I’ll open a pull-request.
1 Like