ActorStub is the client handle returned by idFromName / newUniqueId. Calling a method on it is an RPC to that one actor instance.
telnyx-edge types generates the narrowing for every [[actors]] binding in
telnyx.toml — a telnyx-env.d.ts that types env.<BINDING> against your class’s
public method shape. To hand-roll it instead (also the path for a
shared-actor reference, which
ships no local class for codegen to read):
Related
- Actor Namespace — produces stubs
- Base Class — the
fetchhandler a stub can call