ScopedSupplierDeclaration

class ScopedSupplierDeclaration<T : Any>(identifier: Identifier<T>, val supplier: ScopedSupplier<T>) : Declaration<T>

A declaration within an EnvironmentContext.

A declaration is an Identifier coupled with a scoped supplier. Declarations can be eagerly or lazily invoked depending on the underlying environment's general contract.

Constructors

Link copied to clipboard
constructor(identifier: Identifier<T>, supplier: ScopedSupplier<T>)

Functions

Link copied to clipboard

Adds the given tag to this declaration.

Adds the given tags to this declaration.

Properties

Link copied to clipboard

The identifier for this declaration.

Link copied to clipboard

The supplier for this declaration.

Link copied to clipboard

Tags attached to this declaration.