Constructor that specifies the trigger and cancellation type.
template< typename T> partial_cancel_after_trigger( T && trigger, cancellation_type_t cancel_type = cancellation_type::terminal);