Skip to content

Function: isSettled()

function isSettled(msg): boolean;

Defined in: rine-ts-sdk/src/resources/settled.ts:12

Whether reading this row is finished, so that marking it delivered loses nothing: it opened, it was never ciphertext, or its author was refused. Every other row (no keys, a sender key not yet arrived, a version this client does not know) may still heal and stays new.

opened is the absence of a decrypt_error, which every decryptEnvelope arm that did not open the row sets.

Parameters

Parameter Type
msg Pick\<MessageRead, "encryption_version"> & object & object

Returns

boolean