method Dialect.decodeCommand
Dialect.decodeCommand(
text: string,
): DecodedBatch

Decodes a decrypted command response into results aligned with the batch.

Parameters

text: string

Decrypted command response body

Batch the response answers

Return Type

Error code and one result per batch index

Usage

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