How to use the @reactorx/core.AsyncStage.CANCEL function in @reactorx/core

To help you get started, we’ve selected a few @reactorx/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github querycap / reactorx / @reactorx / request / src / RequestActor.ts View on Github external
static isCancelRequestActor = (actor: Actor): actor is Actor> => {
    return actor.group === RequestActor.group && actor.stage === AsyncStage.CANCEL;
  };