---
title: PendingEraseHandle
summary: A handle to a pending asynchronous erase returned by EraseBuilder::execute_async().
url: https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/struct.PendingEraseHandle/
---

**Kind:** Struct  
**Module:** [kv_store](https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/)  
**Package:** compute-sdk-cpp 0.7.0  
**Source:** https://github.com/fastly/compute-sdk-cpp/blob/ff911e47be2f319e83a9cde960d2c3c5db534280/include/fastly/kv_store.h#L75

Include `fastly/kv_store.h` to use this struct.

Extends `fastly::kv_store::detail::KVPendingHandle<PendingEraseHandle>`.

A handle to a pending asynchronous erase returned by [`EraseBuilder::execute_async()`](https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/class.EraseBuilder/#method-execute_async).

A handle can be evaluated using [KVStore::pending_erase_wait()](https://www.fastly.com/documentation/reference/compute/sdks/cpp/fastly/kv_store/class.KVStore/#method-pending_erase_wait). It can also be discarded if the request was sent for effects it might have, and the response is unimportant.
