Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @electron-forge/tracer

Index

Functions

  • autoTrace<Args, R>(opts: TraceOptions, fn: (childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R): (...args: Args) => R
  • Type parameters

    • Args: any[]

    • R = void

    Parameters

    • opts: TraceOptions
    • fn: (childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R
        • (childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R, ...args: Args): R
        • Parameters

          • childTrace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R
              • <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R): (...args: Args) => R
              • Type parameters

                • Args: any[]

                • R = void

                Parameters

                • opts: TraceOptions
                • fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R

                Returns (...args: Args) => R

                  • (...args: Args): R
                  • Parameters

                    • Rest ...args: Args

                    Returns R

          • Rest ...args: Args

          Returns R

    Returns (...args: Args) => R

      • (...args: Args): R
      • Parameters

        • Rest ...args: Args

        Returns R

  • delayTraceTillSignal<O, K>(trace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R, signaller: O, signal: K): O
  • Type parameters

    • O: object

    • K: string | number | symbol

    Parameters

    • trace: <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R) => (...args: Args) => R
        • <Args, R>(opts: TraceOptions, fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R): (...args: Args) => R
        • Type parameters

          • Args: any[]

          • R = void

          Parameters

          • opts: TraceOptions
          • fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args) => R
              • (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R, ...args: Args): R
              • Parameters

                • childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: (childTrace: typeof autoTrace, ...args: Args) => R) => (...args: Args) => R
                • Rest ...args: Args

                Returns R

          Returns (...args: Args) => R

            • (...args: Args): R
            • Parameters

              • Rest ...args: Args

              Returns R

    • signaller: O
    • signal: K

    Returns O