Skip to main content
Corvus Connection

IScriptContext

Interface
TheOmenDen.StreamPulse.Scripting.IScriptContextThe API surface available to a script handler. Every facade is bound to the current invocation: sends target the broadcaster channel captured when the invocation began, and streams/subscriptions end when the invocation ends.

Members

13
  • Cancellation
    property
    CancellationToken Cancellation
    The invocation's cancellation token — fires when the handler's timeout elapses or the engine tears down. Graph concurrency nodes (flow.delay/flow.timeout/flow.race/ flow.forEachParallel) honor it so waits and parallel work abort cleanly with the invocation.
  • Chat
    property
    IChatApi Chat
  • Twitch
    property
    ITwitchApi Twitch
  • Spotify
    property
    ISpotifyApi Spotify
  • Tiltify
    property
    ITiltifyApi Tiltify
  • StreamDeck
    property
    IStreamDeckApi StreamDeck
  • Discord
    property
    IDiscordApi Discord
  • Obs
    property
    IObsApi Obs
  • Audio
    property
    IAudioApi Audio
  • Templates
    property
    ITemplatesApi Templates
  • Connections
    property
    IConnectionsApi Connections
    Live connection health (spec 023): read a source's current state or a simple connected flag inline from any handler. Backed by the central monitor; failure-safe.
  • Log
    property
    IScriptLog Log
  • Progress
    property
    IScriptProgressReporter Progress
    Reports progress events imperatively from any handler. Streaming handlers that return IAsyncEnumerable<ScriptProgress> don't need this — their yielded items take the same path.