MotorXP-AFM Scripting API
    Preparing search index...

    Interface SignalConnector<T>

    Interface for connecting signals with a typed argument.

    interface SignalConnector<T = void> {
        connect(context: Object, callback: (arg: T) => void): void;
        connect(callback: (arg: T) => void): void;
    }

    Type Parameters

    • T = void

      Type of the argument passed to the signal handler.

    Index
    • Connects a signal handler.

      Parameters

      • context: Object

        Context object, usually this.

      • callback: (arg: T) => void

        Handler function accepting an argument of type T.

      Returns void

      Write

    • Connects a signal handler.

      Parameters

      • callback: (arg: T) => void

        Handler function accepting an argument of type T.

      Returns void

      Write