code: func (b *Buffer) SetFIFO(fifo bool) {
  	if fifo {
  		atomic.StoreInt32(&b.lifo, 0)
  	} else {
  		atomic.StoreInt32(&b.lifo, 1)
  	}
  }
docs: // SetFIFO sets the Buffer's task dispatch order to FIFO (true) or LIFO (false).
  // This determines the order in which buffered tasks will be dispatched. In
  // FIFO (first in, first out) mode, the first tasks to be buffered will be
  // dispatchd first. In LIFO (last in, last out) mode, the last tasks to be
  // buffered will be dispatched first.