Interface ImportOutcome
Properties
Readonlyindex
index: number
Its position in the batch as the caller sent it.
The SDK splits a long batch across several calls and renumbers each response, so this always indexes the array that was passed in.
Readonlystatus
Whether it was queued, refused, duplicated or failed.
Readonlyerrors
errors: readonly string[]
Why it was refused, when it was.
What became of one memory in an import.
An import mints no operation id, so
indexis the only thing identifying the entry this is about, and nothing undoes an import once it has landed.errorsis empty for an entry that was queued, so ImportOutcome.status is what says whether there is anything to read.See
ImportStatus —
REJECTEDandERRORdo not share a remedy.