Conformal TypeScript API
    Preparing search index...

    Type Alias Param<T, I>

    Return value of parameter hooks.

    type Param<T, I> = {
        grab: () => void;
        info: I;
        release: () => void;
        set: (v: T) => void;
        value: T;
    }

    Type Parameters

    • T

      The type of the parameter value.

    • I

      The type of information about the parameter.

    Index

    Properties

    grab: () => void

    Grab the parameter

    info: I

    Information about the parameter

    release: () => void

    Release (un-grab)the parameter

    set: (v: T) => void

    Set the value of the parameter

    value: T

    The current value of the parameter