UNPKG

@noggin/elastic-noggin-sdk

Version:
11 lines (10 loc) 400 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.writeMany = void 0; const operators_1 = require("rxjs/operators"); const send_1 = require("./send"); const error_1 = require("./error"); function writeMany(enos, enSrvOptions) { return (0, send_1.send)(enos, enSrvOptions).pipe((0, operators_1.tap)(error_1.checkBatchForError)); } exports.writeMany = writeMany;