RAGS - v1.10.0
    Preparing search index...

    Interface Options<T>

    Options for creating a Variable with automatic polling or listening.

    interface Options<T> {
        autoSuspend?: boolean;
        listen?: Listen<T>;
        poll?: Poll<T>;
    }

    Type Parameters

    • T

      The variable's value type

    Index

    Properties

    autoSuspend?: boolean

    When true, polling is suspended until at least one widget consumer exists.

    listen?: Listen<T>

    Listen to a subprocess's stdout for continuous updates.

    poll?: Poll<T>

    Poll a command or function at a regular interval.