Type alias LDMigrationWriteResult<TResult>

LDMigrationWriteResult<TResult>: {
    authoritative: LDMigrationResult<TResult>;
    nonAuthoritative?: LDMigrationResult<TResult>;
}

Result of a migration write operation.

Authoritative writes are done before non-authoritative, so the authoritative field should contain either an error or a result.

If the authoritative write fails, then the non-authoritative operation will not be executed. When this happens the nonAuthoritative field will not be populated.

When the non-authoritative operation is executed, then it will result in either a result or an error and the field will be populated as such.

Type Parameters

  • TResult

Type declaration

Generated using TypeDoc