toip.tools

interface · Browser and Node

MeshOutboxItem

@toip-tools/mesh-transportView source
TypeScriptImport
import { type MeshOutboxItem } from "@toip-tools/mesh-transport";

Declaration

TypeScriptinterface
interface MeshOutboxItem {
  pid: string;
  to: string;
  wire: Uint8Array;
  createdMs: number;
  /** Full cycles of retries that went unanswered. */
  attempts: number;
  nextTryMs: number;
  state: "pending" | "custody" | "carried";
}

Properties

pidrequired
string
torequired
string
wirerequired
Uint8Array<ArrayBufferLike>
createdMsrequired
number
attemptsrequired
number

Full cycles of retries that went unanswered.

nextTryMsrequired
number
staterequired
"carried" | "custody" | "pending"