Batch-type extraction in which the barrel of a syringe pump is used as the device for liquid-phase microextraction or dispersive solid-phase microextraction.