Skip to main content

Class: StructureManager<T>

Type parameters

NameType
Textends Base

Hierarchy

  • Base

    StructureManager

Constructors

constructor

new StructureManager<T>(app, object, _fetch)

Type parameters

NameType
Textends Base<T>

Parameters

NameType
appApp
objectNonRuntimeClass<T>
_fetch(id: string) => Promise<unknown>

Overrides

Base.constructor

Defined in

packages/disploy/src/structs/managers/StructureManager.ts:6

Properties

_fetch

Private _fetch: (id: string) => Promise<unknown>

Type declaration

▸ (id): Promise<unknown>

Parameters
NameType
idstring
Returns

Promise<unknown>

Defined in

packages/disploy/src/structs/managers/StructureManager.ts:6


app

app: App

Inherited from

Base.app

Defined in

packages/disploy/src/structs/Base.ts:4


object

Private object: NonRuntimeClass<T>

Defined in

packages/disploy/src/structs/managers/StructureManager.ts:6

Methods

fetch

fetch(id): Promise<T>

Parameters

NameType
idstring

Returns

Promise<T>

Defined in

packages/disploy/src/structs/managers/StructureManager.ts:10