Skip to content

Argument

interface in io.proptastic

sealed interface Argument<S, T>

What a step’s argument is drawn from, in .step(name, …, body): a Domain; the Handles earlier steps kept, .step("deposit", accounts, amounts(), …); or a domain the state gives, fromState(account -> longs().atLeast(1).atMost(account.balance())). Nothing else implements it.

Parameters

<S>the state a step is taken on, which only fromState sees
<T>the argument’s type

Privacy