DeclarationProjection

class DeclarationProjection<P>(val type: ProjectionType, properties: P, val inputEnabled: Boolean = true, encode: (P, ProjectionScope) -> ProjectionValue)(source)

Opt-in typed projection of an element or active modifier description. Properties and the encoder remain local; only the encoder's detached value crosses the transport. Local rendering never requires a projection or a remote registry entry.

Constructors

Link copied to clipboard
constructor(type: ProjectionType, properties: P, inputEnabled: Boolean = true, encode: (P, ProjectionScope) -> ProjectionValue)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Produces one detached property snapshot on the session owner thread.