state_store_get_remove function

Fetch and remove the single-use state entry