interface DecodedBatch

Decoded result of one round trip, positionally aligned with CommandBatch.indices.

Properties

error: number | null

Router error code, or null when the batch reported no error.

results: readonly (Record<string, string> | Record<string, string>[] | null)[]

One entry per index in the batch; null where the router returned nothing.

Usage

import { type DecodedBatch } from "mod.ts";