It's a wrapper around a function, so that you can "send" messages to a given function.

Probably a better term would be `MessageHandler`. A good analogy would be `net.http.HandlerFunc` in the Go stdlib.