obj/src/persistence/MemoryPersistence.js
/**
     * Clears component state.
     *
     * @param correlationId 	(optional) transaction id to trace execution through call chain.
     */
Clears component state.
@param correlationId     (optional) transaction id to trace execution through call chain.
Clears component state . @param correlationId ( optional ) transaction id to trace execution through call chain .
clear(correlationId) {
        return __awaiter(this, void 0, void 0, function* () {
            this._items = [];
            this._logger.trace(correlationId, "Cleared items");
            yield this.save(correlationId);
        });
    }
clear ( correlationId ) { return __awaiter ( this , void 0 , void 0 , function * ( ) { this . _items = [ ] ; this . _logger . trace ( correlationId , "Cleared items" ) ; yield this . save ( correlationId ) ; } ) ; }
Clears component state.
Clears component state .