Optional ReadonlyactivationOptional ReadonlyfetchRestrict activation to these variable names.
Optional ReadonlyjobPer-job activation lock timeout (server-side). Default 60 seconds.
Optional ReadonlymaxMax jobs to activate per poll (the activation batch size). Default 10.
Optional ReadonlypollDelay between polls that returned no jobs, on the Effect Clock (so it is
virtual under TestClock). A poll that returns jobs schedules the next poll
immediately. Default 1 second.
Optional ReadonlyrequestLong-poll request timeout. 0 (the default) lets the broker hold the request
for its configured default; a negative value returns immediately when idle.
Optional ReadonlywithActivate jobs with a lease — default false.
When true, each activated job is assigned a distinct, opaque lease token
(ActivatedJobResult.leaseToken) that is threaded back into the fenced
completeJob / failJob / throwJobError commands, fencing them against a
superseded activation of the same job.
Note: the Effect handler intentionally keeps the base job shape
(leaseToken remains optional/nullable); the token is threaded back into
fenced commands automatically, so handlers do not read it directly.
Optional ReadonlyworkerWorker name recorded on the activation request. Defaults to effect-worker-<type>-<n>, where <n> is an incrementing per-process counter.
Scheduleused to back off and retry a failed activation request (transport outage, broker restart, transient server error). Runs on the EffectClock. When omitted, an activation failure fails the stream.