Skip to main content
Module

x/earthstar/deps.ts>ITransport

A specification and Javascript library for building online tools you can truly call your own.
Go to Latest
interface ITransport
Re-export
import { type ITransport } from "https://deno.land/x/earthstar@v9.3.3/deps.ts";

Manages a specific kind of connection (an HTTP server, etc).

Creates Connections.

Type Parameters

BagType extends FnsBag

Properties

status: Watchable<TransportStatus>
isClosed: boolean
methods: BagType
deviceId: string
connections: WatchableSet<IConnection<BagType>>

Methods

onClose(cb: Thunk): Thunk
close(): void