UNPKG

zeromq

Version:

Next-generation ZeroMQ bindings for Node.js

10 lines (9 loc) 371 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 */ export declare function allowMethods(socketPrototype: any, methods: SocketMethods[]): void; export {};