Interface: IpcResponse<T>
Defined in: shared/types/ipc.ts:50
Standardized IPC response envelope shared across renderer, preload, and main.
Type Parametersโ
Tโ
T = unknown
Propertiesโ
data?โ
optionaldata?:T
Defined in: shared/types/ipc.ts:52
Response data returned on success.
error?โ
optionalerror?:string
Defined in: shared/types/ipc.ts:54
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:56
Optional metadata emitted by the handler.
successโ
success:
boolean
Defined in: shared/types/ipc.ts:58
Indicates whether the IPC call succeeded.
warnings?โ
optionalwarnings?: readonlystring[]
Defined in: shared/types/ipc.ts:60
Optional non-fatal warnings emitted alongside the result.