code: func (ed *Dispatcher) HandleTransferEvent(e Event) {
  	event := e.(*TransferEvent)
  
  	event.SnapshotCh <- ed.newSnapshot()
  
  	// Remove all registrations but don't close the associated event channels
  	ed.clearRegistrations(false)
  }
docs: // HandleTransferEvent transfers all event registrations into a EventSnapshot.