You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(site): update docs on new lifecycle hooks (#2843)
<!-- Please make sure there is an issue that this PR is correlated to. -->
## Changes
<!-- If there are frontend changes, please include screenshots. -->
Copy file name to clipboardExpand all lines: site/src/content/docs/actors/helper-types.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@
2
2
3
3
Rivet provides several TypeScript helper types to make it easier to work with actors in a type-safe way.
4
4
5
+
5
6
## `Context` Types
6
7
7
-
When working with actors, you often need to access the context object. Rivet provides helper types to extract the context types from actor definitions.
8
+
When working with actors, you often need to access the context object outside of the actor's handlers. Rivet provides helper types to extract the context types from actor definitions.
8
9
9
10
### `ActorContextOf<ActorDefinition>`
10
11
@@ -57,4 +58,3 @@ function processCounterAction(context: ActionContextOf<typeof counter>) {
0 commit comments