Interface: IpcResponse<T>
Defined in: shared/types/ipc.ts:29
Standardized IPC response envelope shared across renderer, preload, and main.
Extended byโ
Type Parametersโ
Tโ
T = unknown
Propertiesโ
data?โ
optionaldata:T
Defined in: shared/types/ipc.ts:31
Response data returned on success.
error?โ
optionalerror:string
Defined in: shared/types/ipc.ts:33
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global\_Objects/Error message when the handler fails.
metadata?โ
optionalmetadata:UnknownRecord
Defined in: shared/types/ipc.ts:35
Optional metadata emitted by the handler.
successโ
success:
boolean
Defined in: shared/types/ipc.ts:37
Indicates whether the IPC call succeeded.
warnings?โ
optionalwarnings: readonlystring[]
Defined in: shared/types/ipc.ts:39
Optional non-fatal warnings emitted alongside the result.