5#include "../forms_export.h"
55 bool cancellation_pending() const noexcept;
59 bool is_busy() const noexcept;
64 bool worker_reports_progress() const noexcept;
68 void worker_reports_progress(
bool value);
73 bool worker_supports_cancellation() const noexcept;
77 void worker_supports_cancellation(
bool value);
102 void run_worker_async();
107 template<typename argument_t>
108 void run_worker_async(argument_t argument) {
109 argument_(std::any(argument));
140 void argument_(std::any&& argument);
Represents an event.
Definition event.h:21
Contains xtd::forms::component class.
Contains xtd::forms::do_work_event_handler event handler.
#define forms_export_
Define shared library export.
Definition forms_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::forms::progress_changed_event_handler event handler.
Contains xtd::forms::run_worker_completed_event_handler event handler.