ConstraintJS - v0.10.2
    Preparing search index...

    Interface LiveFunction

    The object returned by cjs.liven.

    interface LiveFunction {
        _constraint: Constraint;
        destroy(silent?: boolean): void;
        invalidate(): void;
        pause(): boolean;
        resume(): boolean;
        run(): LiveFunction;
    }
    Index
    _constraint: Constraint

    The constraint that tracks the function's dependencies (for debugging).

    • Stop running the function and clean up.

      Parameters

      • Optionalsilent: boolean

      Returns void

    • Mark the function as needing to re-run (which it does right away, unless paused).

      Returns void

    • Stop re-running the function until resume is called. Returns false if it was already paused.

      Returns boolean

    • Start re-running the function again (running it now if anything changed). Returns false if it wasn't paused.

      Returns boolean