From 5f6ada5927e4f2c07db00b7cba6f1a9cd03720cc Mon Sep 17 00:00:00 2001 From: Leo Galambos Date: Tue, 8 Jul 2025 21:28:04 +0200 Subject: [PATCH] Update FAQ --- FAQ.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/FAQ.md b/FAQ.md index 67bde71..e6e0489 100644 --- a/FAQ.md +++ b/FAQ.md @@ -24,5 +24,9 @@ Yes, arrays are supported and compared using `Objects.deepEquals`. Use a mock of the `Listener` interface. The key-based typing makes it easy to isolate in unit tests. +## How do I use multiple independent contexts? + +Use `Ctx.INSTANCE.getContext("contextName")` to obtain a named context, which behaves like a separate key-value store with its own listeners. This allows modular and isolated state management within the same application. + --- -[[Home]] | [[Programming Guide]] | [[API Reference]] | [[Design and Architecture]] | [[Contributing]] \ No newline at end of file +[[Home]] | [[Programming Guide]] | [[API Reference]] | [[Design and Architecture]] | [[Contributing]]