Skip to content

Commit 690ecf2

Browse files
committed
refactor(effect): simplify Action interface documentation
1 parent 439cd92 commit 690ecf2

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • rivetkit-typescript/packages/effect/src

rivetkit-typescript/packages/effect/src/Action.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,7 @@ export const isAction = (u: unknown): u is Action<any, any, any, any> =>
88
Predicate.hasProperty(u, TypeId);
99

1010
/**
11-
* A Rivet Actor action: a synchronous request-response call dispatched
12-
* on the actor's main loop.
13-
*
14-
* @remarks
15-
*
16-
* `Action` is a value-level definition that carries the wire schemas
17-
* for the request payload, the success response, and the typed error
18-
* channel. The action's implementation lives in the actor's handler
19-
* map; this type only describes the contract.
11+
* A value-level definition for a non-durable, request-response call.
2012
*/
2113
export interface Action<
2214
in out Tag extends string,

0 commit comments

Comments
 (0)