Reactor.Guard.Build protocol (reactor v0.15.0)

View Source

A protocol which can be used to convert something into a guard.

Summary

Types

t()

All the types that implement this protocol.

Functions

Convert the input into one or more guards.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

build(input)

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

Convert the input into one or more guards.