moo.sdk.tasks.task_time_low

moo.sdk.tasks.task_time_low(threshold=0.5)

Return True if the current task’s remaining time is at or below threshold seconds.

Always returns False when there is no task-time limit (e.g. in tests or interactive shells without a configured limit).

Parameters:

threshold – seconds remaining before considering time low (default 0.5)

Return type:

bool