ads-client | Beckhoff TwinCAT ADS client library for Node.js
    Preparing search index...

    Type Alias SubscriptionCallback<T>

    SubscriptionCallback: (
        data: SubscriptionData<T>,
        subscription: ActiveSubscription<T>,
    ) => void

    Represents a callback function used in a subscription.

    Type Parameters

    • T = any

      The type of data being passed to the callback

    Type Declaration