Signal
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:35
Extends
Section titled “Extends”LiveStoreQueryBase
<T
>
Type Parameters
Section titled “Type Parameters”T
Implements
Section titled “Implements”ISignal
<T
>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Signal<
T
>(__namedParameters
):Signal
<T
>
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:42
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”SignalDef
<T
>
defaultValue
Section titled “defaultValue”T
string
reactivityGraph
Section titled “reactivityGraph”ReactivityGraph
Returns
Section titled “Returns”Signal
<T
>
Overrides
Section titled “Overrides”LiveStoreQueryBase<T>.constructor
Properties
Section titled “Properties”__result!
Section titled “__result!”__result!:
T
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:127
This should only be used on a type-level and doesn’t hold any value during runtime
Implementation of
Section titled “Implementation of”ISignal.__result!
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.__result!
_tag:
"signal"
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:36
Implementation of
Section titled “Implementation of”ISignal._tag
Overrides
Section titled “Overrides”LiveStoreQueryBase._tag
[TypeId]
Section titled “[TypeId]”[TypeId]: typeof
TypeId
=TypeId
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:129
Implementation of
Section titled “Implementation of”ISignal.[TypeId]
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.[TypeId]
activeSubscriptions
Section titled “activeSubscriptions”activeSubscriptions:
Set
<StackInfo
>
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:139
Implementation of
Section titled “Implementation of”ISignal.activeSubscriptions
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.activeSubscriptions
def:
SignalDef
<T
>
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:41
Implementation of
Section titled “Implementation of”ISignal.def
Overrides
Section titled “Overrides”LiveStoreQueryBase.def
executionTimes
Section titled “executionTimes”executionTimes:
number
[] =[]
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:150
Implementation of
Section titled “Implementation of”ISignal.executionTimes
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.executionTimes
id:
number
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:128
Implementation of
Section titled “Implementation of”ISignal.id
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.id
isDestroyed
Section titled “isDestroyed”isDestroyed:
boolean
=false
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:153
Implementation of
Section titled “Implementation of”ISignal.isDestroyed
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.isDestroyed
label:
string
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:38
Human-readable label for the query for debugging
Implementation of
Section titled “Implementation of”ISignal.label
Overrides
Section titled “Overrides”LiveStoreQueryBase.label
reactivityGraph
Section titled “reactivityGraph”reactivityGraph:
ReactivityGraph
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:39
Implementation of
Section titled “Implementation of”ISignal.reactivityGraph
Overrides
Section titled “Overrides”LiveStoreQueryBase.reactivityGraph
readonly
ref:Ref
<T
,ReactivityGraphContext
,RefreshReason
>
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:37
Implementation of
Section titled “Implementation of”ISignal.ref
results$
Section titled “results$”results$:
Ref
<T
,ReactivityGraphContext
,RefreshReason
>
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:40
Implementation of
Section titled “Implementation of”ISignal.results$
Overrides
Section titled “Overrides”LiveStoreQueryBase.results$
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get runs():
number
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:143
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”ISignal.runs
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.runs
Methods
Section titled “Methods”destroy()
Section titled “destroy()”destroy():
void
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:78
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”ISignal.destroy
Overrides
Section titled “Overrides”LiveStoreQueryBase.destroy
get():
T
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:74
Returns
Section titled “Returns”T
Implementation of
Section titled “Implementation of”ISignal.get
run(
args
):T
Defined in: packages/@livestore/livestore/src/live-queries/base-class.ts:156
Parameters
Section titled “Parameters”debugRefreshReason?
Section titled “debugRefreshReason?”otelContext?
Section titled “otelContext?”Context
Returns
Section titled “Returns”T
Implementation of
Section titled “Implementation of”ISignal.run
Inherited from
Section titled “Inherited from”LiveStoreQueryBase.run
set(
value
):void
Defined in: packages/@livestore/livestore/src/live-queries/signal.ts:70
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”ISignal.set