Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace L3Face

Index

Type aliases

CreateFaceFunc

CreateFaceFunc<R, P>: (opts: CreateFaceOptions, ...args: P) => Promise<R extends Transport[] ? FwFace[] : FwFace>

Type parameters

Type declaration

    • A function to create a transport then add to forwarder. First parameter is CreateFaceOptions. Subsequent parameters are passed to Transport.connect() function. Returns FwFace.

      Parameters

      Returns Promise<R extends Transport[] ? FwFace[] : FwFace>

RxError

RxError: LpService.RxError

TxError

TxError: LpService.TxError

Functions

makeCreateFace

  • makeCreateFace<C>(createTransport: C): CreateFaceFunc<C extends (...args: any[]) => Promise<infer R> ? R : never, Parameters<C>>

processAddRoutes

  • processAddRoutes(fwFace: FwFace, addRoutes?: readonly NameLike[]): void

Generated using TypeDoc