// Stop sends a stop signal and waits for the inflight posts to complete before exiting
Stop sends a stop signal and waits for the inflight posts to complete before exiting
// Stop sends a stop signal and waits for the inflight posts to complete before exiting
func (e *HTTPPostEmitter) Stop() {
	s := make(chan bool)
	e.chstop <- s
	<-s
	e.inflight.Wait()
}
func ( e * HTTPPostEmitter ) Stop ( ) { s := make ( chan bool ) e . chstop <- s <- s e . inflight . Wait ( ) }
Stop sends a stop signal and waits for the inflight posts to complete before exiting
Stop sends a stop signal and waits for the inflight posts to complete before exiting