Module @electron-forge/tracer
Functions
autoTrace
- 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
Parameters
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
Parameters
fn: (childTrace: <Args extends any[], R = void>(opts: TraceOptions, fn: ...) => (...args: Args) => R, ...args: Args) => R
Returns (...args: Args) => R
Rest ...args: Args
Returns R
Returns (...args: Args) => R
delayTraceTillSignal
- 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
Parameters
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
signaller: O
signal: K
Returns O