FynMesh API
    Preparing search index...

    Function captureEvent

    • Record an event. Equivalent to t.capture({ type: "event", name, data }).

      A module-scope function rather than a method or an inline literal, for size: the kernel records events at ~30 call sites, and each inline { type: "event", name: …, data: … } repeats the whole object shape in the bundle. Terser mangles a module-scope function's name to one character; a class method's name is a property and can never be mangled.

      Parameters

      Returns void