3.1.0 • Published 4 years ago
@runnerty/trigger-immediate v3.1.0
Immediate Trigger for Runnerty
Trigger for Runnerty internal testing use.
Installation:
Through NPM
npm i @runnerty/trigger-immediateYou can also add modules to your project with runnerty
npx runnerty add @runnerty/trigger-immediateThis 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-immediateConfiguration:
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
}
]
}