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

18
  • 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
  • Patreon
    property
    IPatreonApi Patreon
    Read the connected Patreon campaign (patron counts and monthly total, spec 050); failure-safe, reports null when unknown.
  • Pronouns
    property
    IPronounsApi Pronouns
    Pronoun lookups from PronounDB (spec 037); failure-safe, reports an empty result when unknown.
  • StreamDeck
    property
    IStreamDeckApi StreamDeck
  • Discord
    property
    IDiscordApi Discord
  • Obs
    property
    IObsApi Obs
  • VtubeStudio
    property
    IVtubeStudioApi VtubeStudio
    VTube Studio control (spec 039): trigger hotkeys, set model parameters, read the current model; failure-safe.
  • Tits
    property
    ITitsApi Tits
    TITS (Twitch Integrated Throwing System) control (spec 042): throw items, activate triggers, list / look up; failure-safe.
  • Telegram
    property
    ITelegramApi Telegram
    Outbound Telegram sends (spec 055): post to a channel/group or DM a user; failure-safe, no-ops when disconnected.
  • 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.