src/nodejs/jsmultisync

    Dark Mode
Search:
Group by:

Macros

macro multisync(prc: untyped): untyped
Takes a procedure definition which takes a generic union of arguments, for example: proc (socket: Socket | AsyncSocket). It transforms them so that proc (socket: Socket) and proc (socket: AsyncSocket) are returned.