SyncUserAction
public protocol SyncUserAction : ReactiveUserAction
A user action that performs its work synchronously.
-
Do the action’s work.
Throws
Any error that occurs while doing the action’s work. Errors will be presented to the user by the action runner.Declaration
Swift
func perform(_ context: UserActions.Context<Self>) throws -> ResultType
Parameters
context
The context for this invocation of the action.
Return Value
The result of running the action.