pysepal.solara.notifications.globals.track_task#
- pysepal.solara.notifications.globals.track_task(title, total_steps=None)[source]#
Return a TaskTracker context manager from anywhere (non-component code).
If no NotificationProvider is mounted, returns a no-op context manager.
- Parameters:
title (str) – Task title displayed in the progress panel.
total_steps (int | None) – If known, enables “step N/M” display.