Callbackex v0.1.1 Callbackex.Context

The struct holding context for executing callbacks

Its fields are:

  • module - The module which the callbacks are defined for
  • value - The value that being process by callbacks

Summary

Types

result_t()
result_t() :: {:ok, any} | {:error, any}
t()
t() :: %Callbackex.Context{module: module, result: result_t, value: any}

Functions

build(module, value)