ADK for TypeScript: API Reference
    Preparing search index...

    Function publicSession

    • Returns the session as callers see it, without internal metadata.

      Type Parameters

      Parameters

      • session: T

        A stored session. It is not modified.

      Returns T

      The same session if no event changes. Otherwise a copy whose events are passed through publicEvent.