Page Contents

Home > @loopback/socketio > SocketIoControllerFactory > getCallback

SocketIoControllerFactory.getCallback() method

Signature:

getCallback(methodName: string): (...args: unknown[]) => Promise<void>;

Parameters

Parameter Type Description
methodName string  

Returns:

(…args: unknown[]) => Promise<void>