Skip to main content
Corvus Connection

ExecutionQueue

Attribute
TheOmenDen.StreamPulse.Scripting.Attributes.ExecutionQueueAttributeRoutes a handler (or every handler in a class) through a named execution queue so that work sharing the same queue name is serialized to MaxConcurrency in-flight invocations, ordered by Priority. Use it to stop a script overlapping itself, or to fan several scripts onto one bounded lane (e.g., all OBS scene changes through a single-slot queue).

Members

3
  • Name
    property
    string Name
    The queue identifier. Handlers that name the same queue share its concurrency budget.
  • MaxConcurrency
    property
    int MaxConcurrency
    Maximum number of invocations from this queue that may run at once. Defaults to 1 (strict serialization). Must be at least 1; the host clamps lower values.
  • Priority
    property
    ScriptQueuePriority Priority
    Priority of this handler's work within the queue when it is at capacity. Defaults to Normal.