From 62f06ff9120546eb5bbb7e60bd2ac99a8fa314ed Mon Sep 17 00:00:00 2001 From: Allan Ritchie Date: Wed, 2 Oct 2024 21:45:07 -0400 Subject: [PATCH] Updates --- .../docs/client/mediator/middleware/eventexceptions.mdx | 3 ++- src/content/docs/client/mediator/middleware/replay.mdx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/content/docs/client/mediator/middleware/eventexceptions.mdx b/src/content/docs/client/mediator/middleware/eventexceptions.mdx index e325faa..e64a0d9 100644 --- a/src/content/docs/client/mediator/middleware/eventexceptions.mdx +++ b/src/content/docs/client/mediator/middleware/eventexceptions.mdx @@ -10,7 +10,8 @@ Events can throw exceptions. You can trap them at a global level by awaiting th where you may want other events to complete and not be blocked by one misbehaving piece of code. Thus, we have middleware to help deal with this in a very simple/straight forward manor. -This middleware does nothing more than log an error and `moves on`. +This middleware does nothing more than log an error and `moves on`. This is applied to all event handlers and does not require any attributes +or configuration like other middleware :::note This middleware is installed by default with Shiny.Mediator diff --git a/src/content/docs/client/mediator/middleware/replay.mdx b/src/content/docs/client/mediator/middleware/replay.mdx index d4c5ff1..6f89562 100644 --- a/src/content/docs/client/mediator/middleware/replay.mdx +++ b/src/content/docs/client/mediator/middleware/replay.mdx @@ -6,7 +6,8 @@ import NugetBadge from '../../../../../components/NugetBadge.tsx'; There are occasions where you need to make a large or long duration network call, what if you could return the previous results -while the current network call is in progress? The `Replay` middleware is designed to help you with this. +while the current network call is in progress? What if you don't have a network connection and the method should just "wait" until it does? +The `Replay` middleware is designed to help you with this. ## Setup