func SendSync(m *Message) {
	mu.Lock()
	defer mu.Unlock()
	for _, h := range typeHandlers[m.Type] {
		h(m)
	}
}
// SendSync sends a message syncronously to any listener which is currently Registered to receive it.
SendSync sends a message syncronously to any listener which is currently Registered to receive it.
// SendSync sends a message syncronously to any listener which is currently Registered to receive it .
func SendSync(m *Message) {
	mu.Lock()
	defer mu.Unlock()
	for _, h := range typeHandlers[m.Type] {
		h(m)
	}
}
func SendSync ( m * Message ) { mu . Lock ( ) defer mu . Unlock ( ) for _ , h := range typeHandlers [ m . Type ] { h ( m ) } }
SendSync sends a message syncronously to any listener which is currently Registered to receive it.
SendSync sends a message syncronously to any listener which is currently Registered to receive it .