Skip to main content
Module

x/earthstar_replica_server/deps.ts>Earthstar.ReplicaCache#queryAuthors

An always-online Earthstar peer for your shares.
Latest
method Earthstar.ReplicaCache.prototype.queryAuthors
import { Earthstar } from "https://deno.land/x/earthstar_replica_server@4.0.0-beta.1/deps.ts";
const { ReplicaCache } = Earthstar;

Returns an array of all unique authors of documents returned by a given query.

Parameters

optional
query: Omit<Query<[string]>, "formats"> = [UNSUPPORTED]
optional
formats: FormatsArg<F>