# Action

[API](https://github.com/ngxs/store/tree/af0da5bab249b0cf937a1b3cc862faeeabdf145f/docs/api/README.md) > ["action"](https://www.ngxs.io/v3.2/api/_action_)

## External module: "action"

### Index

#### Functions

* [Action](#action)

### Functions

#### Action <a href="#action" id="action"></a>

▸ **Action**(actions: `any` *|*`any`*\[]*, options?: [*ActionOptions*](https://github.com/ngxs/store/tree/af0da5bab249b0cf937a1b3cc862faeeabdf145f/docs/api/interfaces/_symbols_.actionoptions.md)): `(Anonymous function)`

*Defined in* [*action.ts:7*](https://github.com/amcdnl/ngxs/blob/4ba1032/packages/store/src/action.ts#L7)

Decorates a method with a action information.

**Parameters:**

| Param   | Type  |
| ------- | ----- |
| actions | `any` |

`any`\[] | | `Optional` options | [ActionOptions](https://github.com/ngxs/store/tree/af0da5bab249b0cf937a1b3cc862faeeabdf145f/docs/api/interfaces/_symbols_.actionoptions.md) |

**Returns:** `(Anonymous function)`
