From b993f2c0343834955f4c2dd037aa512647d428d9 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 8 Oct 2022 14:31:29 -0400 Subject: [PATCH] Add trivial news snippet --- nooz/329.trivial.rst | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 nooz/329.trivial.rst diff --git a/nooz/329.trivial.rst b/nooz/329.trivial.rst new file mode 100644 index 0000000..bdb9f46 --- /dev/null +++ b/nooz/329.trivial.rst @@ -0,0 +1,7 @@ +Add ``key: Callable[..., Hashable]`` support to ``.trionics.maybe_open_context()`` + +Gives users finer grained control over cache hit behaviour using +a callable which receives the input ``kwargs: dict``. Further this patch +avoids use of the internal ``Actor._service_n`` for spawning the +entering manager tasks and instead allocates and uses an actor global +singleton ``_Cache.service_n``.