Constructor that specifies the timeout duration and cancellation type.
partial_cancel_after( const typename Clock::duration & timeout, cancellation_type_t cancel_type = cancellation_type::terminal);