Struct containing a notification module and function for being used later with apply/3 function.
apply/3
@type t() :: %Flashy.Component{function_name: atom(), module: module()}
@spec new(function()) :: t()
@spec new(module(), atom()) :: t()