UNPKG

zeromq

Version:

Next-generation ZeroMQ bindings for Node.js

12 lines (11 loc) 398 B
type SocketMethods = "send" | "receive" | "join" | "leave"; /** * This function is used to remove the given methods from the given socket_prototype * to make the relevant socket types have only their relevant methods. * @param socketPrototype * @param methods * * @internal */ export declare function allowMethods(socketPrototype: any, methods: SocketMethods[]): void; export {};