- Preparing search index...
- The search index is not available
NDNts
Type alias CreateFaceFunc<R, P>
CreateFaceFunc<R, P>: ((opts,
...args) => Promise<R extends Transport[] ? FwFace[] : FwFace>)
Type declaration
-
- (opts, ...args): Promise<R extends Transport[]
? FwFace[]
: FwFace>
-
Returns Promise<R extends Transport[]
? FwFace[]
: FwFace>
A function to create a transport then add to forwarder. First parameter is CreateFaceOptions. Subsequent parameters are passed to Transport.connect() function. Returns FwFace.