type

TaskEnqueueOptions

type TaskEnqueueOptions struct { RunAt time.Time Queue string ConcurrencyKey string Target *store.DocumentReference RequestedBy *store.DocumentReference }

Admission and scheduling controls for one durable task.

Source core/task.go:218

RunAttime.Time
Schedules future execution; the zero time makes the task immediately eligible.
Queuestring
Overrides the definition’s default worker queue.
ConcurrencyKeystring
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.