src/nodejs/jsmultisync
Dark Mode
Index
Search:
Group by:
Section
Type
Macros
multisync
multisync(prc: untyped): untyped
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.