Hyperlinkv0.8.0-beta.28

Node

export interface IpcServerOptions {
  /** Filesystem path for the Unix-domain listen socket (required). */
  readonly path: string;
  readonly serialization?: Layer.Layer<RpcSerialization.RpcSerialization>;
  /**
   * Node log key for auto-mounted {@link NodeStatus} durable `logs.query`.
   * When omitted, inferred from served tags' bound {@link Node} when all share one key.
   */
  readonly node?: string | { readonly key: string };
  /**
   * Best-effort `unlink` of `path` before bind and when the server scope closes
   * (default `false` — same as {@link Lookup.layerOptions} / named-pipe listen).
   * Opt in with `unlink: true` to clear a stale `.sock` from a previous crash; leaving the
   * default avoids unlink-steal of a live peer's socket.
   */
  readonly unlink?: boolean;
  /**
   * Soft Lookup directory advertise after serve registration (`Node.unix` / protocol listen).
   *
   * @internal
   */
  readonly advertiseNode?: AnyNode & { readonly key: string };
  /**
   * Call-site advertise conflict policy (forwarded to {@link Lookup.directoryAdvertiseLayer}).
   *
   * @internal
   */
  readonly onConflict?: OnConflict;
}
Referenced by 1 symbols