Operation.Test

Description

Name

class Tinman.Operation.Test

Derived from

Operation

A background operation that emits a given number of ticks over a specified time interval, while doing nothing else.

Fields / Optional

ticks

Type

number

Constraint

# > 0

Default

20

Total number of progress ticks.


sleep

Type

number

Constraint

# > 0

Default

50

Number of milliseconds to sleep before each tick.


fail

Type

bool

Default

false

Operation will fail?


name

Type

string

Default

'Test'

Name of the operation. If null, 'Test' will be used.