Does one unit of cron work and returns the next cursor.
It is a function of (cursor, deps) so the caller owns persistence and the chain is testable
without a Durable Object. mayContinue is the CPU constraint as data: a sql unit costs
microseconds so the caller may run another in the same invocation, while a php unit enters the
interpreter and must be last (as fillBatchSize() never batches across a render).
result is the unit's own ledger or reply, typed as an index signature (a bare object makes
its fields unreadable).
Does one unit of cron work and returns the next cursor.
It is a function of (cursor, deps) so the caller owns persistence and the chain is testable without a Durable Object.
mayContinueis the CPU constraint as data: asqlunit costs microseconds so the caller may run another in the same invocation, while aphpunit enters the interpreter and must be last (asfillBatchSize()never batches across a render).resultis the unit's own ledger or reply, typed as an index signature (a bareobjectmakes its fields unreadable).