Skip to main content

signals

import {...} from "@revideo/core/lib/signals";

Value wrappers for easy dependency tracking and cache invalidation.

Classes

Interfaces

Type Aliases

CompoundSignal

Type Parameters


SignalGenerator

Type Parameters


SignalValue

type SignalValueTValue = TValue() => TValue

Type Parameters


SimpleSignal

type SimpleSignalTValueTReturn = void = SignalTValueTValueTReturn

Type Parameters

Variables

DEFAULT

const DEFAULT: typeof DEFAULT = ...

Functions

createComputed

public createComputedTValuefactory: ...args: any[] => TValueowner?: any: ComputedTValue

Type Parameters

Parameters


createComputedAsync

public createComputedAsyncTfactory: () => PromiseT: ComputedTnull
public createComputedAsyncTfactory: () => PromiseTinitial: T: ComputedT

Type Parameters

Parameters


createSignal

Type Parameters

Parameters


isReactive

public isReactiveTvalue: SignalValueT: value is () => T

Type Parameters

Parameters


modify

Type Parameters

Parameters


unwrap

public unwrapTvalue: SignalValueT: T

Type Parameters

Parameters