View Source Patch.Mock.Values.Callable (patch v0.14.0)
Link to this section Summary
Link to this section Types
@type dispatch_mode() :: :apply | :list
@type dispatch_option() :: {:dispatch, dispatch_mode()}
@type evaluate_mode() :: :passthrough | :strict
@type evaluate_option() :: {:evaluate, evaluate_mode()}
@type option() :: dispatch_option() | evaluate_option()
@type t() :: %Patch.Mock.Values.Callable{ dispatch: dispatch_mode(), evaluate: evaluate_mode(), target: function() }