Type alias ValidatedInputWithResultFactory<Input, ValidationResult, Result, ValidationError, ResultError>

ValidatedInputWithResultFactory<Input, ValidationResult, Result, ValidationError, ResultError>: SignalsFactory<ValidatedInputWithResultInput<Input>, ValidatedInputWithResultOutput<Input, ValidationResult, Result, ValidationError, ResultError>, ValidatedInputWithResultConfig<Input, ValidationResult, Result, ValidationError>, ValidatedInputWithResultEffects<Input, ValidationResult, Result, ValidationError, ResultError>>

The ValidatedInputWithResultFactory is composed of two EffectSignalsFactorys, to abstract over all scenarios where you need to validate a certain input and run a result-effect only if the validation has passed successfully.

Type Parameters

  • Input

  • ValidationResult

  • Result

  • ValidationError

  • ResultError

Generated using TypeDoc