Skip to content

runnerty/trigger-immediate

Repository files navigation

Smart Processes Management

NPM version Downloads code style: prettier

Immediate Trigger for Runnerty

Trigger for Runnerty internal testing use.

Installation:

Through NPM

npm i @runnerty/trigger-immediate

You can also add modules to your project with runnerty

npx runnerty add @runnerty/trigger-immediate

This command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.

If you have installed runnerty globally you can include the module with this command:

runnerty add @runnerty/trigger-immediate

Configuration:

Add in config.json:

{
  "triggers": [
    {
      "id": "immediate",
      "type": "@runnerty-trigger-immediate"
    }
  ]
}

Plan sample:

Add in plan.json:

{
  "triggers": [
    {
      "id":"immediate"
    }
  ]
}
{
  "triggers": [
    {
      "id":"immediate",
      "delay": "2s",
      "times": 2
    }
  ]
}

About

Trigger Immediate - For Runnerty internal testing use

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published