Client.prototype.create<A = unknown>(opts: CreateOptions): Promise<ActorHandle<A>>
Creates a new actor with the provided tags.
opts: CreateOptions
- Options for creating the actor.
- A promise resolving to the actor handle.
Client.prototype.create<A = unknown>(opts: CreateOptions): Promise<ActorHandle<A>>
Creates a new actor with the provided tags.
opts: CreateOptions
Add Package
deno add jsr:@rivet-gg/actor-client
Import symbol
import { Client } from "@rivet-gg/actor-client";
---- OR ----
Import directly with a jsr specifier
import { Client } from "jsr:@rivet-gg/actor-client";
Add Package
npx jsr add @rivet-gg/actor-client
Import symbol
import { Client } from "@rivet-gg/actor-client";
Add Package
yarn dlx jsr add @rivet-gg/actor-client
Import symbol
import { Client } from "@rivet-gg/actor-client";
Add Package
pnpm dlx jsr add @rivet-gg/actor-client
Import symbol
import { Client } from "@rivet-gg/actor-client";
Add Package
bunx jsr add @rivet-gg/actor-client
Import symbol
import { Client } from "@rivet-gg/actor-client";