Reactor.Argument.Build protocol (reactor v0.12.1)

View Source

A protocol which can be used to convert something into an argument.

Summary

Types

t()

All the types that implement this protocol.

Functions

Convert the input into one or more arguments.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

build(input)

@spec build(t()) :: {:ok, [Reactor.Argument.t()]} | {:error, any()}

Convert the input into one or more arguments.