OptionalcleanupOptionaldelaynumber of interval turns before spinner starts, default 2
Optionalintervalhow often to update, in ms
Optionalpromiseautomatically terminate spinner when promise resolves
Optionalstreamthe output stream, defaults to process.stderr
Optionalstringthe characters to use for the spinner
Optionalttyonly create spinner for TTY streams (default true)
Optionalunrefunref the interval so the program can exit gracefully
clear the timer on process exit, if still running