From 31605c9f36864860327d0d96ddd53d7bb3c6dcf0 Mon Sep 17 00:00:00 2001 From: Daniel Loureiro Date: Fri, 8 Nov 2024 04:12:58 +0000 Subject: [PATCH] :memo: docs: Refine README.md for better clarity - Revised sections for improved understanding - Updated code examples in `README.md` --- README.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index f99323e..aead101 100644 --- a/README.md +++ b/README.md @@ -62,17 +62,7 @@ result = await pipeline.process(5) print(f"Result: {result}") ``` -This pipeline processes the payload `5` through the following stages: - -1. Add 1: `5 + 1 = 6` -2. Multiply by 2: `6 * 2 = 12` -3. Add 3: `12 + 3 = 15` - -**Output:** - -```plaintext -Result: 15 -``` +## Middleware Functions With middlewares, you can include pre-processing and post-processing logic: