diff --git a/tractor/_state.py b/tractor/_state.py index 7a4e1242..89e29d40 100644 --- a/tractor/_state.py +++ b/tractor/_state.py @@ -234,3 +234,12 @@ def current_ipc_protos() -> list[str]: ''' return _runtime_vars['_enable_tpts'] + + +# !TODO, convert this to the new `RuntimeVars` struct! +def get_runtime_vars() -> dict: + ''' + Deliver a **copy** of the current `Actor`'s "runtime variables". + + ''' + return dict(_runtime_vars)