Skip to content

Documentation / @etherfold/browser / GenerationContext

Type Alias: GenerationContext ​

GenerationContext = object

Defined in: packages/core/dist/container.d.ts:9

What both of a generation's factories are told about the generation being built.

Properties ​

stream ​

readonly stream: string

Defined in: packages/core/dist/container.d.ts:18

The stream this generation folds, as streamDigestOf renders it.

Handed to both factories because it is the half of a generation's identity that IS known before the fold exists -- it is a function of the source and the stream config alone -- so a runtime that addresses storage per stream can do so without waiting for a processor.