data_base
❭ utils
❭ wait_until_key_removed
wait_until_key_removed¶
-
data_base.utils.wait_until_key_removed(db, key, delay=
5
)¶ Wait until a key is removed from a database.
This function checks every
delay
seconds if the key is still in the database. Useful for waiting until a process has finished.