Skip to content

Documentation / @super-line/core / Directional

Interface: Directional

Defined in: packages/core/src/contract.ts:46

The two directions within a shared or role block.

Extended by

Properties

clientToServer?

optional clientToServer?: Record<string, RequestDef>

Defined in: packages/core/src/contract.ts:48

Requests this side may call (client→server).


serverToClient?

optional serverToClient?: Record<string, ServerEntry>

Defined in: packages/core/src/contract.ts:50

Events, topics, and server→client requests this side may receive.

Released under the MIT License.