From 74c91ec3145aa9cf33ff658a55dae523f00c6704 Mon Sep 17 00:00:00 2001 From: Leo Galambos Date: Tue, 8 Jul 2025 21:12:07 +0200 Subject: [PATCH] Update Home --- Home.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Home.md b/Home.md index 83d2151..c2ec4b0 100644 --- a/Home.md +++ b/Home.md @@ -9,6 +9,7 @@ - Change notifications via weakly-referenced listeners - Thread-safe and simple to use - Singleton style with enum +- **Multiple independent named contexts** for modular, isolated data storage ## Quick Link @@ -23,6 +24,11 @@ ```java Key counterKey = Key.of("counter", Integer.class); Ctx.INSTANCE.put(counterKey, 42); + +// Working with multiple named contexts +CtxInterface orderCtx = Ctx.INSTANCE.getContext("order"); +Key orderIdKey = Key.of("orderId", String.class); +orderCtx.put(orderIdKey, "ORD123"); ```` Enjoy consistent, simple context management! \ No newline at end of file