import { type FluxStandardActionWithPayload } from "https://deno.land/x/flux_standard_action@v1.0.0/mod.ts";
A Flux Standard action with a required payload property.
Properties
payload: Payload
The required payload
property MAY be any type of value.
It represents the payload of the action.
Any information about the action that is not the type or status of the action should be part of the payload
field.
By convention, if error
is true
, the payload
SHOULD be an error object.
This is akin to rejecting a promise with an error object.