kernl API
    Preparing search index...

    Function directoryModule

    • The relay directory: servers the monitors report on, for suggestions and search (D-029). It waits for start(), and suggests the well-known servers until it has heard enough. Without it the shell has no kernl.directory, and an account with no relay list is offered the well-known servers only.

      Parameters

      • options: Omit<RelayDirectoryOptions, "pool"> = {}

        Where the reports come from and how they are kept; the shell's pool is used.

      Returns KernlModule<"directory", RelayDirectory>

      The module; its api is the RelayDirectory.

      const kernl = createKernl({ host, modules: [directoryModule({ relays: ['wss://monitor.example'] })] });
      kernl.directory.start();