scoped
PREVIEW: Returns a new Target routed within the given scope.
A scope is a sub-grouping of resources (invocations, virtual object instances, workflow instances, concurrency limits) within the Restate cluster. It becomes part of the target identity and contributes to the partition key, so all resources sharing a scope get co-located. The scope key must consist only of [a-zA-Z0-9_.-] characters, with 1 <= length
<= 36.
Requires Restate >= 1.7. See flow control.
Return
a new Target with the given scope
Parameters
scope
the scope key to route this target within