BackgroundTask in binaryninja::background_task - Rust

Struct BackgroundTask

Source

pub struct BackgroundTask { /* private fields */ }
Expand description

A BackgroundTask does not actually execute any code, only act as a handler, primarily to query the status of the task, and to cancel the task.

If you are looking to execute code in the background consider using rusts threading API, or if you want the core to execute the task on a worker thread, use the crate::worker_thread API.

NOTE: If you do not call BackgroundTask::finish or BackgroundTask::cancel the task will persist even after it has been dropped.

§
§
§
§