Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-lippert authored May 15, 2024
1 parent 41a0e3d commit 6e3a7ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ Callbacks can be added to the state's `meta` property as a url or as a configura
```
More than one callback can be called by passing an array of callbacks.

HTTP status codes from the callback can be passed as events to the state machine by adding the status code as an event, optionally with wildcards (e.g. 4XX to trap client-side errors).

## Example machine with callbacks

```mermaid
Expand Down

0 comments on commit 6e3a7ce

Please sign in to comment.