Snapd API and wait

Hi,

the snapd command has the wait arg.
Is it possible to use wait in the snapd API, with both the snapd and snapctl sockets ?

Or is wait just a cli wrapper for API polling in the background ?

Thanks !

Cheers,
Just

Indeed, wait is just a loop calling the /v2/snaps/system/conf endpoint:

Thanks for confirming Ian :+1:

Cheers, Just

1 Like