# async

Name async
Type callback
Version 1.0
Since 2020-01-01

# Prologue

Async callback sets time when async step will be sent to next step.

# Configuration

async:
	config:

		# Optional | Default - null => step in which callback is defined
		# Step for which edit/display planned dates
		step: step_to_be_planned

		# Required
		# LPL support
		# Relative time is computed from current time
		to: my_variable | 'null' | "'now'" | "'10 September 2030'" | "'+1 day'" | "'+1 week 2 days 4 hours 2 seconds'" | "'next Thursday'"

		# Optional | Default - []
		sliding: ['+5 days', '+ 2 hours']
1
2
3
4
5
6
7
8
9
10
11
12
13
14

# Example

There are several ways the callback can be used:

  • to = null, sliding = ['+5 days', '+ 2 hours']

Async start time will be set to +5 days and 2 hours from callback start.

  • sliding = [], to has value (for example a string "first day of month" or a timestamp "123456789")

Async start time will be set to the value in to.

  • to has value, sliding = ['+5 days', '+ 2 hours']

We take value from to and apply sliding to it like in the first example. Async start time will be set to the result.