- Preparing search index...
- The search index is not available
cardstack
Methods
register
- register<Implementation, Type>(name: string, factory: Factory<Implementation, []>, opts?: {
type?: Type;
}): void
-
Parameters
-
name: string
-
factory: Factory<Implementation, []>
-
Optional
opts: {
type?: Type;
}
Returns void
registerType
- registerType(type: string, lookup: ((name: string) => Promise<unknown>)): void
-
Parameters
-
type: string
-
lookup: ((name: string) => Promise<unknown>)
-
- (name: string): Promise<unknown>
-
Returns Promise<unknown>
Returns void