Skip to content

OkResponseMessage

Defined in: astrobase/src/rpc/shared/messages.ts:20

Type for an RPC successful response message.

P extends string

T

jobID: number

Defined in: astrobase/src/rpc/shared/messages.ts:7

The job ID. This is included in the response message to help track requests.

MessageBase.jobID


ok: true

Defined in: astrobase/src/rpc/shared/messages.ts:22

Determines whether this is a success or error response.


payload: T

Defined in: astrobase/src/rpc/shared/messages.ts:25

The result data.


procedure: P

Defined in: astrobase/src/rpc/shared/messages.ts:10

The procedure name.

MessageBase.procedure