# Interface ActorDefinition<S, CP, CS, V, I, DB, R>

interface ActorDefinition<
S,
CP,
CS,
V,
I,
DB extends AnyDatabaseProvider,
R extends Actions<S, CP, CS, V, I, DB>,
> {
get config(): ActorConfig<S, CP, CS, V, I, DB>;
instantiate(): ActorInstance<S, CP, CS, V, I, DB>;
}

#### Type Parameters

- S
- CP
- CS
- V
- I
- DB extends AnyDatabaseProvider
- R extends Actions<S, CP, CS, V, I, DB>

- Defined in rivetkit-typescript/packages/rivetkit/src/actor/definition.ts:50

##### Index

### Accessors

config

### Methods

instantiate

## Accessors

### config

- get config(): ActorConfig<S, CP, CS, V, I, DB>

  #### Returns ActorConfig<S, CP, CS, V, I, DB>

  - Defined in rivetkit-typescript/packages/rivetkit/src/actor/definition.ts:65

## Methods

### instantiate

- instantiate(): ActorInstance<S, CP, CS, V, I, DB>

  #### Returns ActorInstance<S, CP, CS, V, I, DB>

  - Defined in rivetkit-typescript/packages/rivetkit/src/actor/definition.ts:69