Skip to main content
This release is a pre-release — the latest non-prerelease version of @rivet-gg/actor is 24.6.1. Jump to this version

🔩 Rivet Actors have built-in RPC, state, and events — the easiest way to build modern applications.

This package works with Deno
This package works with Deno
JSR Score
76%
Published
2 days ago (24.6.2-rc.2)
I
ActorConfig
No documentation available
I
ActorContext
No documentation available
I
OnBeforeConnectOptions

Options for the _onBeforeConnect method.

T
ProtocolFormat

Protocol format used to communicate between the client & actor.

c
Rpc

Context for an remote procedure call.

I
RpcConfig
No documentation available
I
SaveStateOptions

Options for the _saveState method.

I
StateConfig
No documentation available
c
UserError

Error that can be safely returned to the user. Usually used to indicate a user error.

I
UserErrorOptions

Options for the UserError class.

f
delete_

Deletes a key-value pair from the key-value store.

f
deleteAll

Deletes all data from the key-value store. This CANNOT be undone.

f
deleteBatch

Deletes a batch of key-value pairs from the key-value store.

f
get

Retrieves a value from the key-value store.

f
getBatch

Retrieves a batch of key-value pairs.

I
GetBatchOptions

Options for the getBatch function.

I
GetOptions

Options for the get function.

T
Kv
No documentation available
f
list

Retrieves all key-value pairs in the KV store. When using any of the options, the keys lexicographic order is used for filtering.

f
put

Stores a key-value pair in the key-value store.

f
putBatch

Stores a batch of key-value pairs.

I
PutBatchOptions

Options for the putBatch function.

I
PutOptions

Options for the put function.