• Report a successful migration operation from readNew, readOld, writeNew or writeOld.

    readNew: async () => {
    const myResult = doMyOldRead();
    if(myResult.wasGood) {
    return LDMigrationSuccess(myResult);
    }
    return LDMigrationError(myResult.error)
    }

    Type Parameters

    • TResult

    Parameters

    • result: TResult

      The result of the operation.

    Returns LDMethodResult<TResult>

    An LDMethodResult

Generated using TypeDoc