qubit-cas 0.4.2

Typed compare-and-swap executor with retry-aware conflict handling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*******************************************************************************
 *
 *    Copyright (c) 2025 - 2026 Haixing Hu.
 *
 *    SPDX-License-Identifier: Apache-2.0
 *
 *    Licensed under the Apache License, Version 2.0.
 *
 ******************************************************************************/
//! Shared hook type for CAS lifecycle events.

use qubit_function::ArcConsumer;

use super::CasEvent;

/// Shared hook invoked for CAS lifecycle events.
pub type CasEventHook = ArcConsumer<CasEvent>;