Skip to content

procxy / Response

Interface: Response

Defined in: src/shared/protocol.ts:136

Method invocation response sent from child to parent. Either contains return value (RESULT) or error information (ERROR).

Properties

PropertyTypeDescriptionDefined in
error?ErrorInfoSerialized error details; present only when type === 'ERROR'src/shared/protocol.ts:144
idstringUUID that matches the originating Request.idsrc/shared/protocol.ts:138
type"RESULT" | "ERROR"'RESULT' on success, 'ERROR' on thrown exceptionsrc/shared/protocol.ts:140
value?JsonifiableSerialized return value; present only when type === 'RESULT'src/shared/protocol.ts:142

Released under the MIT License.