AsyncValidatedLensModule
PackageFCQRS.Model
Summary
| Name | Signature | Synopsis |
|---|---|---|
| compose | AsyncValidatedLens.compose (arg0, arg1) (arg2, arg3) | Compose two AsyncValidatedLens instances. |
| composeAsyncValidatedLens | AsyncValidatedLens.composeAsyncValidatedLens (arg0, arg1) (arg2, arg3) | Compose an AsyncValidatedLens with a standard Lens. |
| composeLensAsyncValidated | AsyncValidatedLens.composeLensAsyncValidated (arg0, arg1) (arg2, arg3) | Compose a standard Lens with an AsyncValidatedLens. |
| mapError | AsyncValidatedLens.mapError f (arg1, arg2) | Map the error of an AsyncValidatedLens using the provided function. |
Compose two AsyncValidatedLens instances.
Parameters
| Name | Type | Description |
|---|---|---|
| arg0 | 'a -> 'b | |
| arg1 | 'b -> 'a -> Async<Result<'a, 'e>> | |
| arg2 | 'b -> 'c | |
| arg3 | 'c -> 'b -> Async<Result<'b, 'e>> |
Returns
AsyncValidatedLens<'a, 'c, 'e>
AsyncValidatedLens.composeAsyncValidatedLens (arg0, arg1) (arg2, arg3)
Member
Compose an AsyncValidatedLens with a standard Lens.
Parameters
| Name | Type | Description |
|---|---|---|
| arg0 | 'a -> 'b | |
| arg1 | 'b -> 'a -> Async<Result<'a, 'e>> | |
| arg2 | 'b -> 'c | |
| arg3 | 'c -> 'b -> 'b |
Returns
AsyncValidatedLens<'a, 'c, 'e>
AsyncValidatedLens.composeLensAsyncValidated (arg0, arg1) (arg2, arg3)
Member
Compose a standard Lens with an AsyncValidatedLens.
Parameters
| Name | Type | Description |
|---|---|---|
| arg0 | 'a -> 'b | |
| arg1 | 'b -> 'a -> 'a | |
| arg2 | 'b -> 'c | |
| arg3 | 'c -> 'b -> Async<Result<'b, 'e>> |
Returns
AsyncValidatedLens<'a, 'c, 'e>