actionWiremock

fixed_delay

Adds a fixed delay to a list of mappings

Activity as code

Below are the details and signature of the activity Python module.

Typeaction
Modulechaoswm.actions
Namefixed_delay
Returnlist

Usage

JSON

{
  "name": "fixed-delay",
  "type": "action",
  "provider": {
    "type": "python",
    "module": "chaoswm.actions",
    "func": "fixed_delay",
    "arguments": {
      "filter": [],
      "fixedDelayMilliseconds": 0
    }
  }
}

YAML

name: fixed-delay
provider:
  arguments:
    filter: []
    fixedDelayMilliseconds: 0
  func: fixed_delay
  module: chaoswm.actions
  type: python
type: action

Arguments

NameTypeDefaultRequiredTitleDescription
filterlistYesFilterFilter to add fixed delay to
fixedDelayinteger0NoFixed DelayDelay to apply to the matching filter

Signature

def fixed_delay(filter: List[Any],
                fixedDelayMilliseconds: int,
                configuration: Dict[str, Dict[str, str]] = None) -> List[Any]:
    pass