MCPcopy Create free account
hub / github.com/compozy/agh / WithBlockRecurrenceLimit

Function WithBlockRecurrenceLimit

internal/task/manager.go:237–241  ·  view source on GitHub ↗

WithBlockRecurrenceLimit overrides the same-kind re-block count before task escalation.

(limit int)

Source from the content-addressed store, hash-verified

235
236// WithBlockRecurrenceLimit overrides the same-kind re-block count before task escalation.
237func WithBlockRecurrenceLimit(limit int) Option {
238 return func(opts *managerOptions) {
239 opts.blockRecurrenceLimit = limit
240 }
241}
242
243// NewManager constructs one task-domain manager with the supplied dependencies.
244func NewManager(opts ...Option) (*Service, error) {

Calls

no outgoing calls