Appearance
ctx.loading.update
Updates the current loading state to provides feedback to the user that their action is still being run.
ts
await ctx.loading.update({ label: "Loading... (99%)" })
python
# the python SDK requires you to import ctx differently for pages vs actions
from forgeapp_sdk import ctx_var, action_ctx_var
# ctx = action_ctx_var.get() for actions
ctx = ctx_var.get()
await ctx.loading.update("Loading... (99%)")