Function tor_hsservice::netdir::wait_for_netdir_to_list
source ยท pub(crate) async fn wait_for_netdir_to_list(
provider: &dyn NetDirProvider,
target: &RelayIds
) -> Result<(), NetdirProviderShutdown>
Expand description
Wait until provider
lists target
.
NOTE: This might potentially wait indefinitely, if target
is never actually
becomes listed in the directory. It will exit if the NetDirProvider
shuts down.