Action
-
Represents an action that will do some work when executed with a value of type
Input, then return zero or more values of typeOutputand/or fail with an error of typeError. If no failure should be possible, NoError can be specified for theErrorparameter.Actions enforce serial execution. Any attempt to execute an action multiple times concurrently will return an error.
See moreDeclaration
Swift
public final class Action<Input, Output, Error: Swift.Error> -
The type of error that can occur from Action.apply, where
See moreErroris the type of error that can be generated by the specific Action instance.Declaration
Swift
public enum ActionError<Error: Swift.Error>: Swift.Error
View on GitHub
Install in Dash
Action Reference