# @Action

[API](https://github.com/ngxs/store/tree/e13a495eea7136a407e166ef8808a988de180a4c/docs/api/README.md) > ["decorators/action"](https://www.ngxs.io/v3.3/api/_decorators_action_)

## External module: "decorators/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/e13a495eea7136a407e166ef8808a988de180a4c/docs/api/interfaces/_symbols_.actionoptions.md)): `(Anonymous function)`

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

Decorates a method with a action information.

**Parameters:**

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

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