Skip to main content

starts_an_agent

Function starts_an_agent 

Source
pub fn starts_an_agent(job: &CronJob) -> bool
Expand description

Whether a run of the job is an agent working unattended: a message starts a turn, a spawn starts a worker, a drone can run Agent blocks. Filing a task starts nothing. A job for which this holds is under the spending caps and the limit on agents running at once.