Skip to content

Documentation / @etherfold/browser / publishedSnapshotFor

Function: publishedSnapshotFor() ​

publishedSnapshotFor(read, generation): object

Defined in: packages/browser/src/publication.ts:281

THE SNAPSHOT ENTRY FOR ONE GENERATION, or why there is none.

Looked up by GENERATION (generationDigestOf), because that is what a tab can keep: an entry for this processor over another stream is refused BY NAME rather than handed over to be installed and then discarded by the first load.

Parameters ​

read ​

ReadPublication

generation ​

processor ​

string | undefined

stream ​

string

Returns ​

object

snapshot? ​

readonly optional snapshot?: PublicationSnapshot

state ​

readonly state: PublicationState