Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Utils"

Index

Functions

Const extractArgs

  • extractArgs(f: Function): T.Arg[]
  • Parameters

    • f: Function

    Returns T.Arg[]

Const hookGenerator

  • hookGenerator(rpc: T.HookRPC<any>): function
  • Parameters

    • rpc: T.HookRPC<any>

    Returns function

makeSubResponse

rpcHooker

  • rpcHooker<SubResT>(socket: Socket, exporter: Exporter<SubResT>, makeUnique?: boolean): T.ExtendedRpcInfo[]
  • Type parameters

    • SubResT

    Parameters

    • socket: Socket
    • 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

    • SubResT

    Parameters

    • rpc: T.RPC<SubResT>
    • owner: T.Owner

    Returns T.RpcInfo

Generated using TypeDoc