NodeOPCUA API Documentation
    Preparing search index...

    Type Alias MethodCallInterceptor

    MethodCallInterceptor: (
        context: ISessionContext,
        object: UAObject | UAObjectType | null,
        method: UAMethod,
        inputArguments: Variant[],
    ) => StatusCode | Promise<StatusCode>

    A method call interceptor is invoked before every UAMethod.execute() call. Return StatusCodes.Good to allow the call, or any other StatusCode to reject it. The interceptor may be synchronous or asynchronous.

    Type Declaration