Metadata
Metadata provides information about the currently running actor.
Region
Region can be accessed from the context object via c.region
.
c.region
is only supported on Rivet at the moment.Tags
Tags can be accessed from the context object via c.tags
.
For example:
Actor Name
You can access the actor name with:
This is useful when you need to know which actor type is running, especially if you have generic utility functions that are shared between different actor implementations.