@prismshadow/penguin-core/kernel · Authoring

@Use

decorator
Source ↗
IMPORT import { Use } from "@prismshadow/penguin-core/kernel";

A requirement: @Use(SessionsModule) readonly runner!: ScheduleTaskRunner; — the field's type is the interface, the decorator's argument the module wired to provide it (absent = whichever visible module structurally satisfies it, if exactly one does). Injected before create. The interface key comes from the generated table, which reads the annotation.

Parameters

from?

ModuleClass