Functions
Const extractArgs
- extractArgs(f: Function): T.Arg[]
-
Parameters
Returns T.Arg[]
Const hookGenerator
- hookGenerator(rpc: T.HookRPC<any>): function
-
Parameters
Returns function
-
-
Parameters
-
Optional socket: I.Socket
makeSubResponse
-
Parameters
-
Optional uuid: undefined | string
rpcHooker
- rpcHooker<SubResT>(socket: Socket, exporter: Exporter<SubResT>, makeUnique?: boolean): T.ExtendedRpcInfo[]
-
Type parameters
Parameters
-
-
exporter: Exporter<SubResT>
-
Default value makeUnique: boolean = true
Returns T.ExtendedRpcInfo[]
Const rpcToRpcinfo
- rpcToRpcinfo<SubResT>(rpc: T.RPC<SubResT>, owner: T.Owner): T.RpcInfo
-
Type parameters
Parameters
-
rpc: T.RPC<SubResT>
-
owner: T.Owner
Returns T.RpcInfo