using xtd::threading::wait_or_timer_callback = typedef delegate<void(std::any, bool)> |
Represents a method to be called when a xtd::threading::wait_handle is signaled or times out.
state | An object containing information to be used by the callback method each time it executes. |
timed_out | true if the xtd::threading::wait_handle timed out; false if it was signaled. |