type
TaskEnqueueOptions
Admission and scheduling controls for one durable task.
Properties
| Property | Type | Description |
|---|---|---|
RunAt | time.Time | Schedules future execution; the zero time makes the task immediately eligible. |
Queue | string | Overrides the definition’s default worker queue. |
ConcurrencyKey | string | Serializes active leases sharing this key within the queue. |
Target | *store.DocumentReference | Optional lifecycle-safe document target. |
RequestedBy | *store.DocumentReference | Optional lifecycle-safe requesting identity. |
Full signature
type TaskEnqueueOptions struct {
RunAt time.Time
Queue string
ConcurrencyKey string
Target *store.DocumentReference
RequestedBy *store.DocumentReference
}