@study-lenses/tracing
    Preparing search index...

    Type Alias RecordFunction<TOptions, TStep>

    RecordFunction: (
        code: string,
        config: { meta: MetaConfig; options: TOptions },
    ) => Promise<readonly TStep[]>

    The tracing function signature every tracer must implement.

    Previously named TracerModule in the original tracing library — renamed to RecordFunction to avoid confusion with the new TracerModule object type.

    Type Parameters

    Type Declaration

    Async for consistency across all tracers:

    • Some tracers (txt:chars) are internally sync but return Promise for API consistency
    • Other tracers (Python via Pyodide, js:klve with Aran) are genuinely async