From 347929c49fbd7dd9d7890d8f83ac9ec78641b991 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Tue, 1 Apr 2025 08:09:07 -0400 Subject: [PATCH] Update docs for State Management --- docs/api/state.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/api/state.md b/docs/api/state.md index b22b9675..ecce678b 100644 --- a/docs/api/state.md +++ b/docs/api/state.md @@ -1,8 +1,10 @@ -# State Management +--- +id: state +title: 🗂️ State Management +sidebar_position: 8 +--- -This document details the state management functionality provided by Fiber, a thread-safe global key–value store used to store application dependencies and runtime data. The implementation is based on Go's `sync.Map`, ensuring concurrency safety. - -Below is the detailed description of all public methods and usage examples. +The State Management provides a global key–value store for managing application dependencies and runtime data. This store is shared across the entire application and remains consistent between requests. It is implemented using Go’s `sync.Map` to ensure safe concurrent access. ## State Type