forked from goodboy/tractor
1
0
Fork 0

Add defaul rtv for `use_greeback: bool = False`

runtime_to_msgspec
Tyler Goodlet 2024-04-14 19:41:29 -04:00
parent b209990d04
commit 829dfa7520
1 changed files with 5 additions and 0 deletions

View File

@ -30,11 +30,16 @@ if TYPE_CHECKING:
_current_actor: Actor|None = None # type: ignore # noqa
_last_actor_terminated: Actor|None = None
# TODO: mk this a `msgspec.Struct`!
_runtime_vars: dict[str, Any] = {
'_debug_mode': False,
'_is_root': False,
'_root_mailbox': (None, None),
'_registry_addrs': [],
# for `breakpoint()` support
'use_greenback': False,
}