Skip to main content

Fork

stagger

Commentary

added in 0.1.0

The minimum number of ms between how quickly a new fork is spawned.


Examples

Timing when forks spawn

{
"table": "sensors",
"fork": {
"key": {
"_gen": "sequentialString",
"expr": "sensor-~d"
},
"stagger": {
"ms": 250
}
}
}

Specification

JSON schema

{
"type": "object",
"properties": {
"ms": {
"oneOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "object"
}
]
}
}
}