obj/src/persistence/MemoryPersistence.js
/**
     * Saves items to external data source using configured saver component.
     *
     * @param correlationId     (optional) transaction id to trace execution through call chain.
     */
Saves items to external data source using configured saver component.
@param correlationId     (optional) transaction id to trace execution through call chain.
Saves items to external data source using configured saver component . @param correlationId ( optional ) transaction id to trace execution through call chain .
save(correlationId) {
        return __awaiter(this, void 0, void 0, function* () {
            if (this._saver == null) {
                return;
            }
            yield this._saver.save(correlationId, this._items);
            this._logger.trace(correlationId, "Saved %d items", this._items.length);
        });
    }
save ( correlationId ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { if ( this . _saver == null ) { return ; } yield this . _saver . save ( correlationId , this . _items ) ; this . _logger . trace ( correlationId , "Saved %d items" , this . _items . length ) ; } ) ; }
Saves items to external data source using configured saver component.
Saves items to external data source using configured saver component .