ISessionParams

Interface representing the parameters required to create a session. Combines session schema, swarm callbacks, and runtime dependencies.

clientId: string

The unique ID of the client associated with the session.

logger: ILogger

The logger instance for recording session activity and errors.

policy: IPolicy

The policy instance defining session rules and constraints.

bus: IBus

The bus instance for event communication within the swarm.

swarm: ISwarm

The swarm instance managing the session.

swarmName: string

The unique name of the swarm this session belongs to.