Flashy.Component (Flashy v0.3.0)

View Source

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

Summary

Types

t()

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

Functions

new(function)

@spec new(function()) :: t()

new(module, function_name)

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