From 8a6a102affa958b24f8a58bd69cde789d45e3427 Mon Sep 17 00:00:00 2001 From: Leo Galambos Date: Thu, 3 Jul 2025 22:48:22 +0200 Subject: [PATCH] Update Programming Guide --- Home.md => Programming-Guide.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename Home.md => Programming-Guide.md (94%) diff --git a/Home.md b/Programming-Guide.md similarity index 94% rename from Home.md rename to Programming-Guide.md index d56dc3b..98aa260 100644 --- a/Home.md +++ b/Programming-Guide.md @@ -1,4 +1,3 @@ - # Conflux Programming Guide The `Ctx` class in the `conflux` package is a lightweight, type-safe, generic, application-wide context. It provides key-based, strongly typed storage with thread-safe put/get, type consistency for each key, and listener support to observe changes. Listeners are weakly referenced to avoid memory leaks. `Ctx` is ideal for coordinating shared data among otherwise decoupled classes. @@ -168,3 +167,5 @@ Ctx.INSTANCE.removeListener(temperatureKey, display); Ctx.INSTANCE.put(temperatureKey, 30); // no notification after listener removed ``` + +[[Home]] | [[API Reference]] | [[Design and Architecture]] | [[FAQ]] \ No newline at end of file