Kicks off a loading spinner to provide context during any long-running action work. Can also be called with a single string argument as the title, or with no arguments to display only a spinner.
title: "Reticulating splines...",
await ctx.loading.start("Title only shorthand");
|description||Optional string||Secondary label providing additional context for the loading spinner.|
|itemsInQueue||Optional number||Number of "items" your action needs to work through to complete loading. Subsequently calling `ctx.loading.completeOne` (e.g. within a loop) updates the spinner’s progress.|
|title||Optional string||Primary label for the loading spinner.|
Was this section useful?