Interface Tweened<T>

Readable interface for subscribing.

interface Tweened<T> {
    set(value: T, opts?: TweenedOptions<T>): Promise<void>;
    subscribe(
        this: void,
        run: Subscriber<T>,
        invalidate?: Invalidator<T>,
    ): Unsubscriber;
    update(updater: Updater<T>, opts?: TweenedOptions<T>): Promise<void>;
}

Type Parameters

  • T
Hierarchy

Methods