responsive to delivery of a measured length of material, completion of winding of a package, or filling of a receptacle