Skip to content

Endo API documentation - v0.2.0 / Exports / @endo/captp / CapTPOptions

Interface: CapTPOptions ​

@endo/captp.CapTPOptions

the options to makeCapTP

Table of contents ​

Properties ​

Properties ​

epoch ​

• epoch: undefined | number

an integer tag to attach to all messages in order to assist in ignoring earlier defunct instance's messages

Defined in ​

packages/captp/src/captp.js:54


exportHook ​

• exportHook: undefined | (val: unknown, slot: string) => void

Defined in ​

packages/captp/src/captp.js:51


gcImports ​

• gcImports: undefined | boolean

if true, aggressively garbage collect imports

Defined in ​

packages/captp/src/captp.js:61


importHook ​

• importHook: undefined | (val: unknown, slot: string) => void

Defined in ​

packages/captp/src/captp.js:52


onReject ​

• onReject: undefined | (err: any) => void

Defined in ​

packages/captp/src/captp.js:53


trapGuest ​

• trapGuest: undefined | TrapGuest

if specified, enable this CapTP (guest) to use Trap(target) to block while the recipient (host) resolves and communicates the response to the message

Defined in ​

packages/captp/src/captp.js:56


trapHost ​

• trapHost: undefined | TrapHost

if specified, enable this CapTP (host) to serve objects marked with makeTrapHandler to synchronous clients (guests)

Defined in ​

packages/captp/src/captp.js:59