Skip to main content

reset_state

Resets the global state by clearing all request tracking collections and resetting the total count to zero.

def reset_state() - > null

Clears all internal request tracking collections and resets the global request counter to zero. This function is used to restore the module to its initial state, effectively wiping all history of active, successful, and revoked requests.

Returns

TypeDescription
nullNothing is returned; the function modifies global state in-place.