Interface: AIPeer
@roomful/core / AIPeer
Interface: AIPeer
Section titled “Interface: AIPeer”Defined in: packages/core/src/ai-peer.ts:219
A live AI peer. Call AIPeer.stop to remove it from the room.
Properties
Section titled “Properties”peerId
Section titled “peerId”
readonlypeerId:string
Defined in: packages/core/src/ai-peer.ts:221
The AI peer’s id in the room.
Methods
Section titled “Methods”stop()
Section titled “stop()”stop():
Promise<void>
Defined in: packages/core/src/ai-peer.ts:223
Stops the agent loop and disconnects the peer.
Returns
Section titled “Returns”Promise<void>