qubit_executor/hook/mod.rs
1/*******************************************************************************
2 *
3 * Copyright (c) 2025 - 2026 Haixing Hu.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 *
7 * Licensed under the Apache License, Version 2.0.
8 *
9 ******************************************************************************/
10//! Task lifecycle hooks.
11
12mod logging_task_hook;
13mod noop_task_hook;
14mod task_hook;
15mod task_id;
16
17pub use logging_task_hook::LoggingTaskHook;
18pub use noop_task_hook::NoopTaskHook;
19pub use task_hook::TaskHook;
20pub use task_id::TaskId;
21
22pub(crate) use task_hook::{
23 notify_accepted,
24 notify_finished,
25 notify_rejected,
26 notify_rejected_optional,
27 notify_started,
28};
29pub(crate) use task_id::next_task_id;