@prismshadow/penguin-core/kernel · Authoring

ClassCtx

type-alias type-only
Source ↗
IMPORT import type { ClassCtx } from "@prismshadow/penguin-core/kernel";

What a module class's create receives: everything in ModuleCtx except use — requirements are fields.

Members (3)

contributions

contributions: Record<string, Contributed<JsonObject, unknown>[]>

Contributions to this module's slots, by slot name.

resources

resources: Resources

effect

effect: (dispose: () => void) => void

Self-cleaning registration; drained at dispose in reverse order, children first.

@paramdispose() => void
@returns(dispose: () => void) => void

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type