Function: withOperationalHooks()
Call Signature
function withOperationalHooks<T>(
operation: OperationalHookOperation<T>,
config: ThrowingOperationalHooksConfig<T>
): Promise<T>;
Defined in: electron/utils/operationalHooks.ts:615
Wraps an async operation with retry logic, error handling, and event emission.
Type Parameters
T
T
Parameters
operation
config
ThrowingOperationalHooksConfig<T>
Returns
Promise<T>
Call Signature
function withOperationalHooks<T>(
operation: OperationalHookOperation<T>,
config: OperationalHooksConfig<T>
): Promise<T | null>;
Defined in: electron/utils/operationalHooks.ts:619
Wraps an async operation with retry logic, error handling, and event emission.
Type Parameters
T
T
Parameters
operation
config
Returns
Promise<T | null>