> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# targetPeakConcurrentAssignments

```ts theme={null}
function targetPeakConcurrentAssignments(assignments, opts?): RuleEntry<"target-peak-concurrent-assignments", object & TargetPeakConcurrentAssignmentsOptions>;
```

Softly targets the daily peak number of concurrent overlapping assignments
without making that count sustained coverage.

## Parameters

<ResponseField name="assignments" type="number" required>
  Target peak number of concurrent overlapping assignments.
</ResponseField>

<ResponseField name="opts">
  [`TargetPeakConcurrentAssignmentsOptions`](./TargetPeakConcurrentAssignmentsOptions)

  Optional scope and soft priority.
</ResponseField>

## Returns

`RuleEntry`\<`"target-peak-concurrent-assignments"`, `object` & [`TargetPeakConcurrentAssignmentsOptions`](./TargetPeakConcurrentAssignmentsOptions)>

Sets a soft target for the maximum number of simultaneous assignments reached
within the scoped day or time window. This is not a sustained lower bound.
Pair it with [cover](cover) for minimum coverage and with
[maxConcurrentAssignments](maxConcurrentAssignments) when the same value is also a hard cap.

This is a rule-level peak target, not a variant of [cover](cover).
