Trilium Frontend API
    Preparing search index...

    Interface SignalLike<T>

    interface SignalLike<T> {
        value: T;
        peek(): T;
        subscribe(fn: (value: T) => void): () => void;
    }

    Type Parameters

    • T
    Index

    Properties

    Methods

    Properties

    value: T

    Methods

    • Returns T

    • Parameters

      • fn: (value: T) => void

      Returns () => void