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

    Function publicEvent

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

      Type Parameters

      Parameters

      • event: T

        A stored event. It is not modified.

      Returns T

      The same event if it has no internal keys. Otherwise a copy whose customMetadata drops them, or is undefined if nothing else is left.