sleep

module
v0.0.0-...-b6b237c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2024 License: MIT

README

Introduction

The sleep executor simply sleeps for a certain amount of time. The sleep function takes a string as argument stating how long time to sleep in milliseconds.

Usage

cat ./sleep.json
{
    "conditions": {
        "executortype": "sleep"
    },
    "funcname": "sleep",
    "args": [
        "1000"
    ]
}
colonies function submit --spec ./sleep.json

or altenatively to sleep for 20 seconds:

colonies function exec --func sleep --args 20000 --targettype sleep 

Directories

Path Synopsis
internal
cli
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL