Skip to main content

Module task

Module task 

Source
Expand description

Task utilities module.

Re-exports§

pub use crate::utils::circular_buffer::CircularBuffer;
pub use task_framework::append_task_output;
pub use task_framework::apply_task_offsets_and_evictions;
pub use task_framework::cleanup_task_output;
pub use task_framework::evict_task_output;
pub use task_framework::evict_terminal_task;
pub use task_framework::flush_task_output;
pub use task_framework::format_task_notification;
pub use task_framework::generate_task_attachments;
pub use task_framework::get_running_tasks;
pub use task_framework::get_task_output;
pub use task_framework::get_task_output_delta;
pub use task_framework::get_task_output_path;
pub use task_framework::get_task_output_size;
pub use task_framework::init_task_output;
pub use task_framework::is_terminal_task_status;
pub use task_framework::poll_tasks;
pub use task_framework::register_task;
pub use task_framework::AppState;
pub use task_framework::SetAppState;
pub use task_framework::TaskAttachment;
pub use task_framework::TaskOutput;
pub use task_framework::TaskStateBase;
pub use task_framework::TaskStatus;
pub use task_framework::TaskType;
pub use task_framework::MAX_TASK_OUTPUT_BYTES;
pub use task_framework::MAX_TASK_OUTPUT_BYTES_DISPLAY;
pub use task_framework::OUTPUT_FILE_TAG;
pub use task_framework::PANEL_GRACE_MS;
pub use task_framework::POLL_INTERVAL_MS;
pub use task_framework::STATUS_TAG;
pub use task_framework::STOPPED_DISPLAY_MS;
pub use task_framework::SUMMARY_TAG;
pub use task_framework::TASK_ID_TAG;
pub use task_framework::TASK_NOTIFICATION_TAG;
pub use task_framework::TASK_TYPE_TAG;
pub use task_framework::TOOL_USE_ID_TAG;

Modules§

task_framework
Task framework utilities. Contains task management, polling, and notification logic.