Skip to main content
Corvus Connection

ScriptConcurrency

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.ScriptConcurrencyAttributeSets the default dispatch concurrency for every trigger handler in a script class, so authors don't repeat the same knobs on each ScriptTriggerAttribute. A value set on an individual trigger attribute overrides the class default; the class default overrides the host's.

Members

3
  • Mode
    property
    ScriptDispatchMode Mode
    Default dispatch mode for the class's handlers. Defaults to Inherit (fall through to the host default).
  • MaxDegreeOfParallelism
    property
    int MaxDegreeOfParallelism
    Default max degree of parallelism when Mode is Parallel. 0 falls through to the host default.
  • TimeoutMilliseconds
    property
    int TimeoutMilliseconds
    Default per-invocation timeout in milliseconds. 0 falls through to the host default.