Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ngxs-labs/dispatch-decorator

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngxs-labs/dispatch-decorator - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

2

package.json
{
"$schema": "../node_modules/ng-packagr/package.schema.json",
"name": "@ngxs-labs/dispatch-decorator",
"version": "4.0.1",
"version": "4.0.2",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -7,3 +7,3 @@ <p align="center">

> Distribution for separation of concern between the state management and the view
> The distribution for separation of concern between the state management and the view

@@ -13,7 +13,7 @@ [![NPM](https://badge.fury.io/js/%40ngxs-labs%2Fdispatch-decorator.svg)](https://www.npmjs.com/package/@ngxs-labs/dispatch-decorator)

This package simplifies the dispatching process. You shouldn't care about `Store` service injection as we provide a more declarative way to dispatch events out of the box.
This package simplifies the dispatching process. It would be best if you didn't care about `Store` service injection as we provide a more declarative way to dispatch events out of the box.
## 📦 Install
To install the `@ngxs-labs/dispatch-decorator` run the following command:
To install the `@ngxs-labs/dispatch-decorator`, run the following command:

@@ -71,3 +71,3 @@ ```console

After registering our state in the `NgxsModule`, we are ready to try the plugin out. Given the following component:
We are ready to try the plugin after registering our state in the `NgxsModule`, given the following component:

@@ -133,3 +133,3 @@ ```typescript

Dispatchers can return arrays. Actions will be handled synchronously one by one if their action handlers do synchronous job and vice versa if their handlers are asynchronous:
Dispatchers can return arrays. NGXS will handle actions synchronously if their action handlers do a synchronous job and vice versa if their handlers are asynchronous.

@@ -159,3 +159,3 @@ ```typescript

If we want to cancel previously uncompleted `getNovels` request then we need to provide the `cancelUncompleted` option:
If we want to cancel previously uncompleted `getNovels` request, then we need to provide the `cancelUncompleted` option:

@@ -162,0 +162,0 @@ ```ts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc