Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Spins (in a cpu loop) for a period of time (in seconds).

The main use of the spin function is to temporarily change the performance characteristics of an operation, to make it more 'cpu intensive'.

Syntax

spin(duration)

ArgumentTypeDescription
durationIntegerNumberPause Spin duration (in seconds)

Examples

...