Interface IsDialableOptions

An object that contains an AbortSignal as the optional signal property.

Example

const controller = new AbortController()

aLongRunningOperation({
signal: controller.signal
})

// later

controller.abort()
interface IsDialableOptions {
    runOnLimitedConnection?: boolean;
    signal?: AbortSignal;
}

Hierarchy (view full)

Properties

runOnLimitedConnection?: boolean

If the dial attempt would open a protocol, and the multiaddr being dialed is a circuit relay address, passing true here would cause the test to fail because that protocol would not be allowed to run over a data/time limited connection.

signal?: AbortSignal