More
Types
TypeScript types for working with Rivet Actors. This page covers context types used in lifecycle hooks and actions, as well as helper types for extracting types from actor definitions.
Context Types
Context types define what properties and methods are available in different parts of the actor lifecycle.
TypeScript
Extracting Context Types
When writing helper functions that work with actor contexts, use context extractor types like CreateContextOf or ActionContextOf to extract the appropriate context type from your actor definition.
TypeScript