Class VirtualObjectAttribute
- Namespace
- Restate.Sdk
- Assembly
- Restate.Sdk.dll
Marks a class as a Restate virtual object — a keyed stateful entity. Each key has isolated K/V state and exclusive handler execution.
[AttributeUsage(AttributeTargets.Class)]
public sealed class VirtualObjectAttribute : Attribute
- Inheritance
-
VirtualObjectAttribute
- Inherited Members
Properties
Name
Override the service name used in discovery and invocation routing. Defaults to the class name.
public string? Name { get; set; }