Skip to main content
Corvus Connection

On Connection Restored

Connection
Trigger
entry.onConnectionRestoredFires when a lost connection auto-reconnects. Choose a source (or Any); Gateway is not offered (a reconnecting client is a fresh Up). Binds source/reason, downtime seconds, and attempt count.
LifecycleSystem

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
source
Data
System.String
multiplexed
reason
Data
System.String
multiplexed
downtimeSeconds
Data
System.Double
multiplexed
attemptCount
Data
System.Int32
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    source
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    reason
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    downtimeSeconds
    Kind
    Data
    Type
    System.Double
    Flags
    multiplexed
  • Name
    attemptCount
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed

Bindings

Name
Type
Description
source
System.String
The connection that was restored.
reason
System.String
A short reason describing the restoration.
downtimeSeconds
System.Double
How many seconds the connection was down.
attemptCount
System.Int32
How many reconnect attempts it took to restore.
  • Name
    source
    Type
    System.String
    Description
    The connection that was restored.
  • Name
    reason
    Type
    System.String
    Description
    A short reason describing the restoration.
  • Name
    downtimeSeconds
    Type
    System.Double
    Description
    How many seconds the connection was down.
  • Name
    attemptCount
    Type
    System.Int32
    Description
    How many reconnect attempts it took to restore.

Parameters

Name
Type
Required
Default
Choices
source
System.String
no
"any"
Any source, Twitch, OBS, Spotify, VTube Studio, TITS, VeeSeeFace
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    source
    Type
    System.String
    Required
    no
    Default
    "any"
    Choices
    Any source, Twitch, OBS, Spotify, VTube Studio, TITS, VeeSeeFace
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Used in