Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/node.ts>DiscoveryLAN

Storage for private, distributed, offline-first applications.
Go to Latest
class DiscoveryLAN
implements DiscoveryService
import { DiscoveryLAN } from "https://deno.land/x/earthstar@v10.2.0/src/entries/node.ts";

A discovery service for finding peers on the local network, to be used with Peer.discover.

Constructors

new
DiscoveryLAN(opts: DiscoveryLANOpts)

Properties

private
abortController: AbortController
private
eventQueue: AsyncQueue<DiscoveryServiceEvent>
private
multicastInterface: MulticastInterface
private
serviceNames: Map<string, string>
private
sessions: Map<string, LANSession>
private
tcpProvider: TcpProvider
readonly
events