Skip to content

Rivet.Namespace reference

Source: packages/rivet/src/Namespace.ts

A namespace on a Rivet control plane: an isolated set of node pools and actors. Each stage of an app usually gets its own.

Rivet has no API to delete a namespace, so destroying the resource leaves the namespace in place (empty once its pools are gone) and stops managing it.

const namespace = yield* Rivet.Namespace("App", {
endpoint: "https://rivet.example.com",
token: Redacted.make(adminToken),
});