functai for TypeScript - v0.1.0
    Preparing search index...

    Class MemoryConversations

    Conversations kept in this process's memory (lost when it ends): the store a conversation uses when none is named. One per process by default, so opening the same id again opens the same conversation.

    Implements

    Index
    durability: "memory"
    events: MemoryStore = ...

    Each turn's call tree log, kept while it runs (streaming.md, The rules a store keeps).

    persistent: false

    Whether it keeps records beyond this process (unknown: yes).

    • Parameters

      • conversation: string
      • records: readonly Rec[]
      • opts: { expect?: number } = {}

      Returns number

    • The conversations it holds.

      Returns string[]

    • Resolves when a record after after exists (or ms passed).

      Parameters

      • conversation: string
      • after: number
      • ms: number

      Returns Promise<void>