Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultDetachedDrainTimeout = 30 * time.Second
DefaultDetachedDrainTimeout bounds how long N.O.R.E. keeps running detached work after its caller has gone away. Detached work is outlived by design, but an unbounded drain would let shutdown never finish, so the budget is a policy with a default rather than an author's per-capability setting.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CapabilityRuntimeEngine ¶
type CapabilityRuntimeEngine struct {
// contains filtered or unexported fields
}
func NewCapabilityRuntimeEngine ¶
func NewCapabilityRuntimeEngine(bus contracts.EventBus, registry contracts.CapabilityRuntimeRegistry, executions contracts.ExecutionRepository, scopes *exec.ScopeRegistry, maxConcurrency int, detachedDrainTimeout time.Duration) (*CapabilityRuntimeEngine, error)
Click to show internal directories.
Click to hide internal directories.