Function: groupReturnDue()
groupReturnDue(
group,counts):"final"|"early"|null
Defined in: packages/orchestration/src/calls/contracts.ts:48
Whether a group's return is due now: final once every call has settled,
early once under first_actionable when a settled call is actionable
news, or null. Each return is stamped once, under the group's row lock.
Parameters
group
Pick<CallGroup, "returnWhen" | "earlyReturnedAt" | "returnedAt">
counts
Returns
"final" | "early" | null