Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Oct 3, 2024
1 parent 6311d8d commit 62f06ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/content/docs/client/mediator/middleware/replay.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 62f06ff

Please sign in to comment.