@runnerty/trigger-immediate

3.1.0 • Public • Published

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
    }
  ]
}

Package Sidebar

Install

npm i @runnerty/trigger-immediate

Weekly Downloads

6

Version

3.1.0

License

MIT

Unpacked Size

6.54 kB

Total Files

10

Last publish

Collaborators

  • coderty