UNPKG

@loopback/socketio

Version:

LoopBack's WebSocket server based on socket.io

19 lines 838 B
"use strict"; // Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved. // Node module: @loopback/socketio // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT Object.defineProperty(exports, "__esModule", { value: true }); exports.SocketIoInvokeMethodProvider = void 0; const core_1 = require("@loopback/core"); class SocketIoInvokeMethodProvider { constructor() { } value() { return (context, controller, methodName, args) => this.action(context, controller, methodName, args); } action(context, controller, methodName, args) { return (0, core_1.invokeMethod)(controller, methodName, context, args); } } exports.SocketIoInvokeMethodProvider = SocketIoInvokeMethodProvider; //# sourceMappingURL=invoke-method.provider.js.map