navigate.tools.common_functions.VariableWithLock
- class navigate.tools.common_functions.VariableWithLock(variable_type: Any)
Bases:
object
- __init__(variable_type: Any) → None
This class is a wrapper for a variable with a lock to ensure thread safety.
- Parameters:
variable_type (Any) – The type of the variable to be wrapped. This can be any type, such as int or str, or even a custom class.
Methods
__init__
(variable_type)This class is a wrapper for a variable with a lock to ensure thread safety.