#include <background_job.hpp>
Public Member Functions | |
| BackgroundJobContext (CancelToken cancellation, std::function< void(BackgroundJobProgress)> progress) | |
| bool | is_cancelled () const |
| const CancelToken & | cancellation_token () const |
| void | publish_progress (BackgroundJobProgress progress) const |
| pulp::runtime::BackgroundJobContext::BackgroundJobContext | ( | CancelToken | cancellation, |
| std::function< void(BackgroundJobProgress)> | progress ) |
|
inline |
| bool pulp::runtime::BackgroundJobContext::is_cancelled | ( | ) | const |
| void pulp::runtime::BackgroundJobContext::publish_progress | ( | BackgroundJobProgress | progress | ) | const |