@runnerty/trigger-immediate
v3.1.0
Published
Runnerty module: Immediate
Downloads
5
Readme
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
}
]
}