What is `module_function` all about?

I saw this in an open source project (pagy):