Page Contents

Home > @loopback/socketio > SocketIoInvokeMethodProvider > action

SocketIoInvokeMethodProvider.action() method

Signature:

action(context: Context, controller: ControllerClass, methodName: string, args: unknown[]): any;

Parameters

Parameter Type Description
context [Context](/doc/en/lb4/apidocs.context.context.html)
controller [ControllerClass](/doc/en/lb4/apidocs.core.controllerclass.html)
methodName string
args unknown\[\]

Returns:

any