View Source Flashy.Component (Flashy v0.2.0)

Struct containing a notification module and function for being used later with apply/3 function.

Summary

Types

@type t() :: %Flashy.Component{function_name: atom(), module: module()}

Functions

@spec new(function()) :: t()
Link to this function

new(module, function_name)

View Source
@spec new(module(), atom()) :: t()